Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / origin coordinates of object changing?

Author
Message
arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 3rd Feb 2003 20:18
Is there posibility to move origin of object in DB?

For example can I move origin of box object from its centre to one of the corners of box?
By origin I mean point which coordinates determine its placing in 3D space or around which box is rotating when rotation comands are used.

thanks...
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 3rd Feb 2003 23:27
You can alter the origin of an object by using offset limb. If you offset limb 0, which is the root limb every object has, you can offset the origin of the object.

Once I was but the learner,
now, I am the Master.
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 3rd Feb 2003 23:58
cooool! that was something I wanted to know too

is it also possible to set the pivot point for a camera? or is it possible to place a camera in a limb hierarchy or to attach a camera to an object? (not to the object's pivot point)

I'm just thinking about this because it would be easy to let a camera rotate in a system like used in 3rd person games

arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 4th Feb 2003 11:03
Good... TheDarthster,

thanks a lot...

Login to post a reply

Server time is: 2025-05-13 08:08:02
Your offset time is: 2025-05-13 08:08:02