Is it possible to create Havok bodies, which just “slide”.
So the idea is to have a physical body which does not tip over, but stays straight up.
Setting the velocity and damping does work but not well over time.
Or a more broader Question would be, Does Havok provide “Collision only” bodies, which can be assigned to a geometry? Well I read about body types and none of the three (static, dynamic, animated) would suit, isnt it?
The idea to design an object could also work like this (see PG below), but I would need some collision objects, which I can attach to the geometry.
I’m refering to the doc: Physics V2 core concepts | Babylon.js Documentation
if your body is dynamic and compute its forces, then it’s dynamic.
if it collides/push other body but you control its position/rotation, then it’s animated.
if it doesn’t move at all, then it’s static.
To eliminate rotation/angular velocity, you can set angular velocity to 0, every frame.
My guess would be to have a body that is hard to tip over. May be a rectangular box with a low height. Hopefully discrepancy between shape that you render and body that you use to simulate wont be too visible
Hi.
I was thinking of that as well, but generally it should be that diamond shape.
Basically the diamond with that behavior is against the idea of using physics ;), I know.
So maybe use a sphere…
Didnt try the Dynamic body yet, but I have a feeling that doesnt work either.
best.w.
I am thinking a cylinder with low height as body mesh might work better for you. Then Havoc can simulate behavior, similar to a hockey puck sliding on ice