How to mount a particle on a player's head?
by weihua · in Torque 3D Professional · 05/04/2010 (11:09 pm) · 2 replies
I tried this resource: http://www.torquepowered.com/community/resources/view/10893
It seems old and I got an error on this line:
U32 mountNode = mDataBlock->shape->findNode(slotName);
error C2039: 'shape' : is not a member of 'ShapeBaseData'
I tried this too: http://www.torquepowered.com/community/resources/view/8156
But I didn't see any effects.
Is there some simple way to mount a particle on player ?
Thanks in advance!
It seems old and I got an error on this line:
U32 mountNode = mDataBlock->shape->findNode(slotName);
error C2039: 'shape' : is not a member of 'ShapeBaseData'
I tried this too: http://www.torquepowered.com/community/resources/view/8156
But I didn't see any effects.
Is there some simple way to mount a particle on player ?
Thanks in advance!
About the author
TD of Beijing Pixel Software Technology Joint-Stock Co., Ltd.
#2
Not the particle can move along with my player now :-)
But I still have the question: Is there any offical solution for this "mount on player" problem?
Thanks!
05/04/2010 (11:44 pm)
Problem solved. It seems that I have to rebuild the whole project.Not the particle can move along with my player now :-)
But I still have the question: Is there any offical solution for this "mount on player" problem?
Thanks!
Torque 3D Owner weihua
China Pixel Game
But I when I created a particle and mounted it. It still won't moving with my player. Could anybody give me some advice? Thanks :)