dragonofdark Posted February 2, 2011 Share Posted February 2, 2011 Hello, First, I'm sorry for my damnit English and if I'm boring you... Well, I would like to move an object attached to a DFT to an other point. But I can't find the good way, I've tested "moveObject", but it doesn't work. I tryed to make an other "attachElements" but the object move but without the movement (it's instantly moved). Could anyone helps me to make it moves with movement ? Thanks, dragonofdark Link to comment
Aibo Posted February 2, 2011 Share Posted February 2, 2011 attachElements is the way, actually, check your parameters. Link to comment
DiSaMe Posted February 2, 2011 Share Posted February 2, 2011 Do you mean that you want to make an object which is attached to the vehicle to move to another offset and remain attached? If so, then you can try using setElementAttachedOffsets in onClientPreRender and you will also need to interpolate the position between the beginning and the end of the movement. To make this server-side, you will need to use triggerClientEvent or other kind of server-client communication to move the object for everyone. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now