Sevdat Posted July 4, 2023 Share Posted July 4, 2023 (edited) why is this happening? With the objects from the demo everything is fine, but when creating primitives or importing everything gets messed up. The 2 white color objects are the ones created or imported. With the ground the imported meshes collide fine, but when creating a primitive to use as ground it doesn't behave properly. I copy and pasted the parameters sequentially, but that also didn't help Also I have a nodeDummy forklift and the gravity isn't applying to it. Please help. also when the center button is clicked to simulate the physics it doesn't work. Edited July 4, 2023 by Sevdat Link to comment
Sevdat Posted July 4, 2023 Author Share Posted July 4, 2023 only having the ShapeBox isn't enough. Need to add ShapeSphere to each corner so that it will balance the object on the surface. Is there a way to do this automatically instead of manually? Problems that still persists: 1) Gravity doesn't work with NodeDummy. I need it like this because I need to make the forklift's certian parts move individually such as wheels, lift, etc. 2)Physics simulation doesn't get toggled on when pressed. Link to comment
silent Posted July 5, 2023 Share Posted July 5, 2023 Sevdat Could you please export your current world as upackage and attach it to this thread? This will allow us to check the issue with non-working physics. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Sevdat Posted July 5, 2023 Author Share Posted July 5, 2023 Good day Silent, I attached a zip file of the current project because I didn't know what a upackage is. I hope this is satisfactory. unigine_project.zip Link to comment
silent Posted July 6, 2023 Share Posted July 6, 2023 Looks like you simply forgot to un-pause the game. In order to do that you can press Ctrl+Space or click on the running man icon: 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
vvvaseckiy Posted July 6, 2023 Share Posted July 6, 2023 Regarding the issue with gravity not applying to NodeDummy, it's correct behavior that you can't set body to NodeDummy, if you want to attach physical shape to an invisible object use ObjectDummy instead Link to comment
Sevdat Posted July 6, 2023 Author Share Posted July 6, 2023 (edited) Good day vvvaseckiy, Did you mean like this? Also disabling the the collision for each individual parts so that the object doesn't start flying due to the collision with the ObjectDummy Edited July 6, 2023 by Sevdat Link to comment
vvvaseckiy Posted July 7, 2023 Share Posted July 7, 2023 Yes, did this helped to achieve desired behavior of the forklift? 1 Link to comment
Sevdat Posted July 7, 2023 Author Share Posted July 7, 2023 Yes, the gravity is active, but due to the code SetWorldDirection the forklift falls slowly. I will make a new topic as this is a seperate issiue. Link to comment
Recommended Posts