Roland Posted August 20, 2016 Share Posted August 20, 2016 These guys are not documented virtual void Entity::SetElasticity(const float elasticity);//lua virtual float Entity::GetElasticity();//lua Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
martyj Posted August 22, 2016 Share Posted August 22, 2016 If I had to guess, it's referring to Elastic Collisions and not rubber bands. https://en.wikipedia.org/wiki/Elastic_collision For example, a car would have a small elastic coefficient as when cars crash, they usually go in the same direction together. Where as a bouncy ball would have a higher coefficient. Id guess this would be a value between 0 and 1. Where 1 is 100% elastic and 0 is non elastic. ----------- Looking at the physics API leadwerks uses, http://newtondynamics.com/wiki/index.php5?title=NewtonMaterialSetDefaultElasticity You can see it is a value between 0 and 1. 1 Quote Link to comment Share on other sites More sharing options...
Roland Posted August 22, 2016 Author Share Posted August 22, 2016 Great and thanks. Would be great if we didn't have to guess though Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Josh Posted August 25, 2016 Share Posted August 25, 2016 It's not an official feature at this time. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Roland Posted August 25, 2016 Author Share Posted August 25, 2016 It's not an official feature at this time. Aha. That explains it Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.