dongju.jeong Posted November 21, 2018 Posted November 21, 2018 what is different about between force and torque? and impulse
morbid Posted November 21, 2018 Posted November 21, 2018 Hi, could you specify what exactly you're trying to do? Have checked our article on physics bodies? https://developer.unigine.com/en/docs/2.7.2/principles/physics/bodies/ How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted February 7, 2019 Author Posted February 7, 2019 Is there a way to limit movement or rotation to any axis, even if an object is externally subjected to physical action?
Greg.Mildenhall Posted February 7, 2019 Posted February 7, 2019 To restrict the movement of a body, use a joint:https://developer.unigine.com/en/docs/2.7.2/principles/physics/joints/
dongju.jeong Posted February 7, 2019 Author Posted February 7, 2019 Does the unigine have any function to restrict rotation or movement such as Freeze Position or Freeze Rotation of the rigid body of the unity?
cash-metall Posted February 7, 2019 Posted February 7, 2019 Greg is right. You can limit the movement of the physical body with the help of joints. Also you can do it using application logic, for example, components or WorldExpression. (see Example in Handle Component in VRTemplate). Unfortunately, there is no ready way to freeze movement along a specific axis. 1
dongju.jeong Posted February 7, 2019 Author Posted February 7, 2019 I've tested a few different types of Joints. In the case of hinge joints, physical collision with an external object, the node of the hinge not only rotates but also causes a slight shake (move). What is the hinge setting that allows to only rotate without a little movement in any collision?
silent Posted February 7, 2019 Posted February 7, 2019 dongju.jeong I'm afraid there is no simple answer since every scene is different. You need to adjust joints settings individually. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted February 8, 2019 Author Posted February 8, 2019 I tried to fix position by component. By the way, is it not possible to check update() of the c++ project which created logic by the component system by using the play toggle button in the Editor? Do I have to run using only visual studio for logic check?
silent Posted February 8, 2019 Posted February 8, 2019 dongju.jeong Yep, the C++ logic is not working inside Editor (and probably will never be able to do this). You can use Visual Studio to run project. We have some ideas how we can improve this interconnection (and compile code by 'Play' button on fly). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts