|
Hi, I have a 2D 'shadow puppet' rigidbody character made from multiple hinged objects, in a 2D space and I need to flip / rotate the object when I double click the head. I can detect doubleclick working, but can't do the flip. I think I know I need to apply a TORQUE force to a target. I've experimented with: configurable joints; triggering an animation (making the object temporarily 'kinetic'; disabling physics (or not) and transforming the body parts; As it should work like a shadow puppet - I want it to make a transition between 0 and 180 and back on a double click of one of the elements (so it faces left then transitions to facing right), physic behaviours are while turning are desirable. I do have a configurable joint on one body part to restrict / lock Angular Motion (on X and Z) and wondering if the constraint will stop rotating it programmatically? Thanks in advance, Ian
(comments are locked)
|
