eugene.litvinov Posted March 7, 2011 Share Posted March 7, 2011 PlayerActor has setMinThetaAngle / setMaxThetaAngle functional to control min/max camera theta angle (pitch). It works while we not use Unigine::Input::Control to override standard player's controls definition. I try change in demos/character example <min_angle>-30</min_angle><max_angle>50</max_angle> and max parameter <action name="turn_down"> <input device="Mouse" state="1" max="-50"/> <input device="XBOX 360 For Windows (Controller)" state="5"/> </action> <action name="turn_up"> <input device="Mouse" state="1" max="50"/> <input device="XBOX 360 For Windows (Controller)" state="8"/> </action> This have no effect - camera are moving from -90 to 90 degrees. How to limit this angles? Link to comment
Guest anet Posted March 9, 2011 Share Posted March 9, 2011 PlayerActor has setMinThetaAngle / setMaxThetaAngle functional to control min/max camera theta angle (pitch). It works while we not use Unigine::Input::Control to override standard player's controls definition. I try change in demos/character example and max parameter This have no effect - camera are moving from -90 to 90 degrees. How to limit this angles? Did you try to change min_angle and max_angle in agent.camera config file? Link to comment
eugene.litvinov Posted March 9, 2011 Author Share Posted March 9, 2011 Thanks, it works Link to comment
Recommended Posts