User Tools

Site Tools


reference_guide:thinkingparticles_nodes:operator_nodes:bulletphysics:bt_jointcounter

BTJoint Counter

BT JointCounter operator enables you to get all the available joints that exist between a pair of particles. Please note, you must specify the BT BulletPhysics collision operator that has been used for the joints from which you want to gather data or you will not get any joint information at all.

Operator Inputs  

ON - (Bool) This input data stream determines whether the operator is considered 'on' or 'off.' You can connect other operators to this input channel such as a Bool Helper to activate/deactivate the whole operator.

Time - (Time) This input data stream is used to define the local time for the operator when the user wants to override the default system time.

Particle 1 - sets the Particle1 particle ID that will be used to acquire the Joint information

Particle 2 - sets the Particle2 particle ID that will be used to acquire the Joint information

Which - this input defines the option to choose which Joints to output by this operator. The options are

0 = From 1 = To 2 = Both

Note,
you can simply provide the Particle 1 input and specify “Both” in order to access all joints associated with that particle.

Operator Outputs  

Joint* - outputs all of the joint IDs relevant to the Particle input

Number of Joints* - outputs the number of Joints a particle pair has (Particle 1 and Particle 2)

Rollout Menus  

The BT JointCounter operator offers only a few settings to adjust. Possible options are:

Collision - lets you specify the BulletPhysics collision operator that has been used to handle the joints. thinkingParticles is able to use multiple BulletPhysics collision operators in one particle system setup, hence the need to specify the solver you want to get joint information from.

Which Joints  

From - when selected, joints attached to Particle 1, only will be output to the *Joint connector.

To - when selected, joints attached to Particle 2, only will be output to the *Joint connector.

Both - check this option to output all joints connected to either Particle 1 or Particle 2

©2024, cebas Visual Technology Inc.

reference_guide/thinkingparticles_nodes/operator_nodes/bulletphysics/bt_jointcounter.txt · Last modified: 2024/01/24 18:34 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki