Hello all,
My first prototype is almost coming to life!
Have you guys played Trine? When using the magician, you can create objects of the thin air and these flying objects (held by the mouse) interact with the scenario while mainting its physical properties. For example, you when create a ladder it has torque and can collide with the other objects, but the gravity does not pull it down while being held by mouse.
In my game something like this must happen, but I dunno how to accomplish it. How can I update the object position without using forces while still retaining the other properties? What about this mouse snapping? how can I accomplish it using Box2D?
thanks in advance!
Fabio
My first prototype is almost coming to life!
Have you guys played Trine? When using the magician, you can create objects of the thin air and these flying objects (held by the mouse) interact with the scenario while mainting its physical properties. For example, you when create a ladder it has torque and can collide with the other objects, but the gravity does not pull it down while being held by mouse.
In my game something like this must happen, but I dunno how to accomplish it. How can I update the object position without using forces while still retaining the other properties? What about this mouse snapping? how can I accomplish it using Box2D?
thanks in advance!
Fabio