Skip to content

sphereRoll


Author: Asaf Ben-Zur

Best used for: Balls, BB-8-Style

A simple module to drive a sphere roll based on position.

Upon contruction, based on the given settings, the main joint orientation will be driven by the module's position.

This module will calculate the roll of the sphere needed to reach the target position, without slipping, in any direction.

This behaviour is not confined to a single control being moved, but rather calculated based on the module's world-position.



Defenitions


construct

Constructor: construct(mansur, MnsBuildModule, **kwargs)
Return: list (controls), dict (internalSpaces)
Arguments:
  • mansur
  • MnsBuildModule
  • **kwargs
Keyword Arguments:


customGuides

Constructor: customGuides(mansur, builtGuides)
Return: None
Arguments:
  • mansur
  • builtGuides
Keyword Arguments: