SetLinearVelocityY() query
by bentgarney · in Torque Game Builder · 03/12/2005 (10:49 am) · 2 replies
#2
Why are you deleting the object?
I'm sure you've probably already considered this but, if not. I would have suggested simply changing the current sprites image to the new image, without altering any other aspects of the sprite.
:o) just a thought
03/12/2005 (3:45 pm)
@RobertWhy are you deleting the object?
I'm sure you've probably already considered this but, if not. I would have suggested simply changing the current sprites image to the new image, without altering any other aspects of the sprite.
:o) just a thought
Torque Owner Peter Dwyer
You are doing the following am I correct.
1. create object
2. give it linear velocity
3. delete said object
4. create new object in same position as old object
5. give new object a linear velocity
Unless you are doing all of this in the same instance there will be a pause or so I would have though if only to obey the laws of physics!