Bodies Class

The Bodies Class describes the set of all Bodies in an Actor COMP (Actor COMPs are used by the Bullet Solver COMP and Nvidia Flex Solver COMP). The Bodies object is accessed via its Actor COMP and is used much like a Python list.

bodies = op('bsolver1/actor1').bodies	# get the Bodies object
print(len(bodies))						# number of Bodies 
print(bodies[0])						# first Body in the list
for b in bodies:
	print(b)							# print all Bodies


No operator specific members.


No operator specific methods.

TouchDesigner Build: