Step just one object?

David20321
Posts: 17
Joined: Sat Mar 13, 2010 10:08 pm

Step just one object?

Post by David20321 »

Is there anyway to step a single object in a world without stepping all of them? For example, if I want to have an indicator showing the path of a grenade or golf ball, I could create a temporary object for it and step it through the world several times to collect path points, and then delete it. Then I could draw an indicator connecting all the path points.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Step just one object?

Post by Erwin Coumans »

There is no easy API for doing this at the moment. During the stepping of the single object, you want to assume all other objects (and collisions with them) as static?

It sounds like a reasonable request, so we should take it into account for future API improvements,
Thanks,
Erwin
elmindreda
Posts: 1
Joined: Fri Feb 25, 2011 10:30 pm

Re: Step just one object?

Post by elmindreda »

This would be a very useful thing to have; in my case for replaying input after a client prediction failure has been detected.