Change pivot point on Touch Manipulation
I have my character moved back -300 in Z because he's inside a window portal. I have the TouchCollision mesh surrounding the character. When I try to scale or rotate the character, it rotates around the center of the scene instead of the center of the character. Is there a way to specify the pivot point of the touch manipulation?
-
The touch collision just defines the touchable area. The pivot of the manipulate component is defined by whatever object the Manipulate component is on. In the case of the Template projects, this is theWorldObjectController object. If your want to make your character the pivot, simply put the character at the center of the WorldObjectController. Then, the rest of your scene should be offset around the character. The touch collision object can encompass the entire scene but the pivot will still be the center of the WorldObjectController.
Here's an example. The cube is the "pivot" and is just at position ( 0, 0, 0 ) as a child of the WorldObjectController. I've scale the touch collision to represent the rest of the "scene". The whole scene will now be touchable but rotate around the cube
Comment actions
Please sign in to leave a comment.
Have a comment?