leggedrobotics / raisimLib

RAISIM, A PHYSICS ENGINE FOR ROBOTICS AND AI RESEARCH
http://www.raisim.com
327 stars 50 forks source link

how can I define external force for box or other AS #16

Closed yonchien closed 5 years ago

yonchien commented 5 years ago

How to apply external force or torque on the box or AS

jhwangbo commented 5 years ago

Please check the header files. The best way to search is ctrl+F and the keyword is "setExternalForce". I tried my best to name them intuitively

yonchien commented 5 years ago

how can External Force displayed in GUI , if possible , can you give an simple example for me ,thanks

jhwangbo commented 5 years ago

do you want to see the arrow? Then you have to add a visualized object and add the arrow your self. The gui I provide is a basic example. You can easily customize it by adding objects and modifying the imgui panel