Module vrConstraints
[frames] | no frames]

Module vrConstraints

Deprecated; use vrConstraintService instead.

Functions
 
createAimConstraint(sourceNames, upSourceNames, targetName)
Creates a constraint between nodes: "sources" and "target".
 
createRotationConstraint(sourceNames, targetName, maintainOffset)
Creates a constraint between nodes: "sources" and "target".
 
createTranslationConstraint(sourceNames, targetName, maintainOffset)
Creates a constraint between nodes: "sources" and "target".
Function Details

createAimConstraint(sourceNames, upSourceNames, targetName)

 

Creates a constraint between nodes: "sources" and "target".

Parameters:
  • sourceNames (list of string) - The names of the source nodes.
  • upSourceNames (list of string) - The names of the up source nodes.
  • targetName (string) - The name of the target node.

createRotationConstraint(sourceNames, targetName, maintainOffset)

 

Creates a constraint between nodes: "sources" and "target".

Parameters:
  • sourceNames (list of string) - The names of the source nodes.
  • targetName (string) - The name of the target node.
  • maintainOffset (bool) - Maintain current offset.

createTranslationConstraint(sourceNames, targetName, maintainOffset)

 

Creates a constraint between nodes: "sources" and "target".

Parameters:
  • sourceNames (list of string) - The names of the source nodes.
  • targetName (string) - The name of the target node.
  • maintainOffset (bool) - Maintain current offset.