[3D Programming] AttachObjectNode(#Node, ObjectID())
Posted: Sun Oct 07, 2012 12:03 pm
Hi
Another missing thing ?
You can attach an Object to a Node - but how do you attach a Node to an Object?
And why is it a missing Feature?
If you are programming 3D worlds for a while you find some features in other engines very useful
One example of many:
Attach a Node to an Entitity and then point a Camera to that Node. In many cases it is not wanted to point a camera to the center or origin of an entitiy - camera points in most cases some meters in front and above the entity to have a better view on entity and area around or to simulate dynamic.
To reach that with math is very complicated. It should not be necessary that every user has to become a math genius only to let a camera or object follow a node which is attached to an entity ...
AttachObjectNode(#Node, ObjectID()) could solve many problems and can make 3D programming much easier.
or
AttachNodeObject(#Node, ObjectID() [, Mode])
Mode = #Attach_As_Parent or #Attach_As_Child
RR
.
Another missing thing ?
You can attach an Object to a Node - but how do you attach a Node to an Object?
And why is it a missing Feature?
If you are programming 3D worlds for a while you find some features in other engines very useful
One example of many:
Attach a Node to an Entitity and then point a Camera to that Node. In many cases it is not wanted to point a camera to the center or origin of an entitiy - camera points in most cases some meters in front and above the entity to have a better view on entity and area around or to simulate dynamic.
To reach that with math is very complicated. It should not be necessary that every user has to become a math genius only to let a camera or object follow a node which is attached to an entity ...
AttachObjectNode(#Node, ObjectID()) could solve many problems and can make 3D programming much easier.
or
AttachNodeObject(#Node, ObjectID() [, Mode])
Mode = #Attach_As_Parent or #Attach_As_Child
RR
.