help with dynamic placement of objects?

Blitz3D Forums/Blitz3D Beginners Area/help with dynamic placement of objects?

gellyware(Posted 2003) [#1]
I am wondering if there is some kind of way to have an object placed near a mesh. For example, say you had a wizard with a staff, is their anyway to make a glowing light or particles come out of the top of the staff and stay their as he moves his staff? When he swings the staff, the particles or light should follow the tip of the staff in 3d space. Any suggestions?


Miracle(Posted 2003) [#2]
Try parenting the light (say) to the mesh. First move the light to where you want it in relation to the mesh, and then:

EntityParent light,mesh

Now every time you move or rotate the mesh, the light will move as if it's a part of it! Particle emitters are trickier, and depend on the system you're using, but it's essentially the same thing.