C# script--set force?
#1
Sad 
How can I get and set force in a C# script, rather than velocity?
Idea
  Reply
#2
Force is just some value added to velocity. So in a script it would be something like:

Code:
tf.SetVel(sInx, tf.GetVel(sInx) + forceVector);
  Reply
#3
Thumbs Up 
(07-23-2025, 02:22 PM)tyFlow Wrote: Force is just some value added to velocity. So in a script it would be something like:

Code:
tf.SetVel(sInx, tf.GetVel(sInx) + forceVector);

Heart Wink Smile Cool
  Reply


Forum Jump: