Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.collideCopy
8.0

<node3d>.collideCopy

Copies the VizPhysicsShapes from the source node

<node3d>.collideCopy(  
node  
)  
node
The node that the VizPhysicsShape objects are copied from.

Remarks

Copies all of the VizPhysicsShapes from the source node.

Return Value

None

Example

bumper = viz.add( 'table.wrl' )
bumper.collideBox( node='Leg1' )
bumper.collideBox( node='Leg2' )
bumper.collideBox( node='Leg3' )
bumper.collideBox( node='Leg4' )
bumper.collideBox( node='Top' )

bumperCopy = bumper.copy()
#Copies all of the VizPhysicsShapes
bumperCopy.collideCopy( bumper )

See also

<node3d>.collideBox
<node3d>.collideCapsule
<node3d>.collideMesh
<node3d>.collideNone
<node3d>.collidePlane
<node3d>.collideSphere