How can i do "this" (hard to explain)
JlmC
Member Posts: 129
"an image is worth a thousand words"
http://likeimg.com/images/box.png
If my helicopter is flying, i want my BOX to go on that way like i show in the picture.
What i got is the second draw. I need the third.
thanks
http://likeimg.com/images/box.png
If my helicopter is flying, i want my BOX to go on that way like i show in the picture.
What i got is the second draw. I need the third.
thanks
Comments
Darren.
1. How do I rotate the box when the helicopter moves.
2. When I drop the box, i want it to have the same forward momentum of flight before the drop.
Which one?
Attribute: Helicopter Velocity
Helicopter rule: Constrain attribute "Helicopter Velocity" to self.motion.linearvelocity.x
Box rule: When swiped,
Change attribute self.motion.linearvelocity.x to helicopter velocity
Interpolate self.motion.linearvelocity.x to 0 over 4 seconds
Accelerate down (I used speed 200 and it worked fine)
Rule on the box:
When game.boxreleased = true
change attribute (self.linearVelocityX) to game.HelicopterMomentum.
Be sure if you want the box to slow its forward momentum to add a drag value in its physics attributes, otherwise it won't slow down.