User Tools

Site Tools


democap:ocls_grabobject

Start Page » DEMoCap: Drag[en]gine Motion Capture » Generic Object Class: Grab Object

Adds a grab marker to the scene. Grab markers allow the motion capture actor to grab objects at specific places, for example handles or grips.

Grabbing is done using collider attachment or physics constraints depending on the physics state set in Collider Physics Panel.

This class defines a placeholder model and skin in the shape of a hand grabbing a grip or handle. Use can use the Component Behavior Panel to change the model, skin and rig to show. This model is used for display purpose and simplifies grabbing the object since the motion capture actor sees where the hand is best placed. Use Browse Object from Project Panel to open the directory where you can place your custom models, skins and rigs. You can export your models to Drag[en]gine specific file formats (*.demodel, *.derig) using the Blender Export Scripts. Skin files (*.deskin) you can create either using the Skin Editor or by writing the XML file manually. See DEMoCap Materials and DEMoCap Objects for examples. Some file formats (like *.fbx) define skins and can be used too.

The actual grabbing is relative hence while touching the grab spot (a sphere of palm size at the object origin) the object is moved relative to the grabbing hand.

This object only define the grab support. To use grabbing you have to assign grab object to a parent object. Use the parent panel in Project Panel to select the parent object. Once parented the grab object moves together with the parent object. While parented you can still select the grab object to use the interact handles to position the grab spot.

You can place multiple grab object objects on a single parent object. The actor grabs the spot closest to the grab spot on the respective hand.

For convenience purpose a left-handed class GrabObjectLeft exists. This is the same as GrabObject but with model, rig and initial animator set up for the left hand.

Interact Handles

The following interact handles can be used with actor markers:

  • Move along X axis (red arrow)
  • Move along Y axis (green arrow)
  • Move along Z axis (blue arrow)
  • Rotate around X axis (red ring arrow)
  • Rotate around Y axis (green ring arrow)
  • Rotate around Z axis (blue ring arrow)

Object Behaviors

The following object behaviors are supported

You could leave a comment if you were logged in.
democap/ocls_grabobject.txt · Last modified: 2022/09/06 19:01 by dragonlord