03-23-2026, 07:59 AM
G'Day Tyson
I was writing some code in the script operator and playing around, I didn't realize the the tfbind class doesn't work on PhysX binds, they seem to return null values, but work on the std bind operator. If I am wrong on this, let me know how to correct.
would it be possible to add some PhysX specific bind query information or is this not possible eg: hypothetical examples below, they would add a lot of power to scripting with PhysX:
Just a Thought !!
Rob
I was writing some code in the script operator and playing around, I didn't realize the the tfbind class doesn't work on PhysX binds, they seem to return null values, but work on the std bind operator. If I am wrong on this, let me know how to correct.
would it be possible to add some PhysX specific bind query information or is this not possible eg: hypothetical examples below, they would add a lot of power to scripting with PhysX:
Code:
// Get list of PhysX bind partners for a particle
List<int> tf.GetPhysXBinds(int simIndex);
// Get rest length of a specific PhysX bind
float tf.GetPhysXBindRestLength(int simIndex1, int simIndex2);
// Get current length (for strain analysis)
float tf.GetPhysXBindCurrentLength(int simIndex1, int simIndex2);
// Break a specific PhysX bind
void tf.BreakPhysXBind(int simIndex1, int simIndex2);Just a Thought !!
Rob

