How to make a block not bounce?

Sorry if this is the wrong section, I couldn’t think where it would fit best.

Hello, today I started working on a game like prop hunt where you can morph into blocks around the map. So far it was going good and I’d fully scripted a prop gun, however when a player changes, when they jump and land, they bounce a bit up and down which is for some reason really annoying me as it slows the player down.

Does anyone know how to stop it?

Thanks,
Pyxrien.

1 Like

I’m not sure about this, but maybe if you increase the gravity locally for the players who are props, it can dampen the effect.

1 Like

You should probably adjust the elasticity ia CustomPhysicalProperties property of the block.
Specifically the Elasticity and ElasticityWeight properties.

You can do this from your code by constructing a PhysicalProperties object, or if you are cloning a block you can do it from the properties tab.

1 Like

Awesome, thanks I’ll give it a shot!

Edit:

Works perfect, thank you!

I’ll try it out, thanks for the response!