Any chance for a SIMPLE playground, P8? (good to see u btw, hope ur well)
Top of head… change to box for more surface area for friction to work better, or search forum for “leather” to find @RaananW’s Leather Boot professional damping system.
Are you sure cameraRoot.body.physicsBody.setDamping(0.0,1) is working? Tested well?
(oh, you already commented on that, sorry)
umm… I have 12 year old Dell Inspiron… win 7… pretty good internet. This unit plays GTA 5 nicely, podracer, mudrunner, fsx with no scenery extras. Dunno how else to describe.
So when we say we have ammo js as a physics plugin… how much of it do we really have?
Because I am looking at the classes from bullet which ammo is supposed to be a direct port of it, and I have a bunch of methods that seem to not work on the btRigidBody, maybe Im just doing things wrong.
You are… hehe. (j/k) Don’t confuse AmmoPlugin with Ammo PE. AmmoPlugin was designed to sort-of “mirror” the power and features of the other 2 plugins. As far as “added value” on Ammo plugin… not sure there is any (such as soft Body). Look at docs… JohnK and the boys DID write some stuff for softbody and rope impostors… did it well… but MAYBE not seen on the plugin. Maybe need to go native to operate. But ammo PE… is exact full-featured native engine, afaik.
Also, BJS physics IMPOSTOR class and physics ENGINE class… are the same for all three PE’s, I believe. By doing that, we might lose some features from Ammo, because… BJS impostor class is a bit too “dumb” to handle all of Ammo’s power. I don’t think anyone wrote a special PI class just for Ammo… and thus… our current PI class doesn’t do softbodies, I believe. Must go native to use… not activate-able at BJS plugin, PI, or PE class layers.
Add lots of Ammo power to BJS plugin, PI, or PE layers, and those objects no longer mirror the plugin, PI, or PE API’s of the earlier PE’s (Oimo and Cannon). That’s my take on it all.
Wingnut was well-wrong on that. I did some touring of the AmmoJS plugin this morning, and it has many features specifically designed-for AmmoJS. Sorry for misleading on that. Wingnut not paying proper attention.
First parameter for setDamping is for velocity, second is for torque.
I replaced the 0 for velocity with 0.999, increased the maxspeed and it gives less momentum movements: https://playground.babylonjs.com/#79HPX7#59
drawback is it fells way slower now.
Another way is to increase the friction value, decrease the restitution.
You’ll have to tweak the velocity but it shouldn’t be too hard: https://playground.babylonjs.com/#79HPX7#60