About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
Node system in Esenthel (attaching objects to objects)?
Author Message
SONB Offline
Member

Post: #1
Node system in Esenthel (attaching objects to objects)?
Hi, Esenthel.

Some time ago I was playing around with Ogre3D engine, which has a node system. You create a Node, attach a mesh to that Node. Then, if you want to attach another mesh to the first mesh, you create one more Node, attach the second mesh to that Node. Then you attach the second Node to the first Node, this way, if you want to move/rotate the second mesh relatively to the first mesh (its parent), you just rotate/move its Node (the second one).
This way you can attach everything to everything, mesh to mesh, light to mesh, particle emitter to mesh and so on...
Now my question is: is it possible to do similar things in Esenthel?
What I need to do right now is to attach a particle emitter to the ship object, so that when I rotate the ship, the particle emitter rotates with it.
04-19-2009 12:15 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Node system in Esenthel (attaching objects to objects)?
You just need to create a Particles object, and then in each frame set it's matrix to a specified position on the ship.

You can specify the ship position via for example using a Skeleton Point in the Mesh Editor.

There is a tutorial on skeleton points I guess in "Animation/skeleton points"
04-19-2009 02:02 PM
Find all posts by this user Quote this message in a reply
Post Reply