6DoF Bullet samples

6Dof samples can be found here https://github.com/Lumak/Urho3D-Constraint6DoF

1 - ship on a rail example
2 - hoverbike

11 Likes

It’s been a while since I made a video and thought it might be worth making one for this.

10 Likes

Eh eh, it reminds me of good 'ol Battlezone

As usual , very nice demo :slightly_smiling_face:

Seems like this would make a great PR.

Could this constraint also be used to prevent raycast vehicles from toppling over, btw?

1 Like

Yes, you can configure a vehicle to not turn over, and you can use it to assist in turning because bullet’s raycastvehicle has a hard time doing that at high speeds. Also, you can put wheels on that hoverbike and make it a motorcycle, although, you’ll probably have to tweak the dynamics to behave more like a motorcycle.

1 Like

Would definitely be nice to have this as part of the Engine (version 1.8 ?) and the hover demo as a sample.

Would you also be able to add the Fixed constraint, where 2 objects are stuck together, to Urho3D physics system? I think it can have its uses.

There are other Constraints that’s already implemented in Urho3D where you can stick objects together. Understanding about ERP and CFM and how they work might be helpful. I know I keep referring back to this page, http://www.ode.org/ode-latest-userguide.html#sec_3_7_0 , just to refresh my memory.

thanks lumak AAA examples, unity3d quality . …

thanks

Update hoverbike: added softpitch limit, corrected reverse direction, and changed camera functionality.

1 Like