Lets say im making some kind of large model that i have welded together, and i want to position it using bodymovers rather than just anchoring and CFraming. My past methods were to really just trial and error, guessing random forces and dampeners until i found something that managed to keep the object in position without it freaking out and breaking the physics engine. I was wondering though, since this method obviously takes forever, and takes longer and longer the larger the model is: Is there a better way to do this? perhaps some formula i can use to determine exactly what the vectors are that i need to be using to make it work?
1 Like
Is BodyPosition the thing you might be looking for?
I was asking how to calculate the perfect amount of force needed by the body position in order to hold an object in position without the object shaking violently or just straight up flying out of the world
BodyPosition doesn’t take any forces - you provide it with a Vector3 position.
Position, MaxForce (the maximum force in each direction the bodyPosition can exert), F (a number value, dictates how much force is applied), and D (also a number value, a dampening factor applied to the force)
I need to know exactly what values go into the F and D fields for any model with any size or mass, and was wondering if there is a formula out there for this