1. Accueil
  2. Docs
  3. SkyReal Documentation
  4. Commands
  5. Manipulation

Manipulation

There is mulple way to move a object in the simulation like grabbing an object, moving it using a laser or compass …

The « action button » design the button that the user has defined to run the current action.

Each command that will be describe can be found in the manipulation command

 

Manipulate objects with two hands (1)

When using the command « Manipulate objects with two hands », the object will be manipulate freely without prior selection. Only one object can be manipulate by hand, but each hand can move object independently.

When this command is choose, the laser are replaced by two hands. A line will be drawn between the center of hand and the nearest object which will be highlight (see picture below). If you press the « action » button the selected object will move, the center of rotation is located in the hand.

In case a object contains others or object are relatively near one from another, the selected object can be the global one, depending the poisition of the hand

 

Compass manipulation (2-3)

The compass manipulation command enable to move and rotate the selected object(s) using a compass. There is two manipulation mode for the compass :

– Positional: In this mode only the translation made by the device will be taken in account. It is more precise than projectional.

– Projectional : In this mode you manipulate using the laser. It may be less precise, but it is easier to move over a long distance.

By default the translation manipulation mode of the compass is positional. It can be changed to projectional by selecting the compass manimpulation slice, open the params « Translation Manipulation Mode » and choose « projectional » in the combo box.

This manipulation command only move and rotate object that have been selected prior using this command. When calling the command, a compass will be created at the center of the object

In case multiple elements are selected, the compass will be at the center of all selected object

The object(s), through the compass, can be moved depending which compass element is target when the action button is pressed

  • axis (x, y or z)

Axis manipulation enable to move an object only on one axis, the other two axis are fixed.

  • plane ( xy, xz or yz)

Plane manipulation enables to move an object by two axis, the last axis is fixed

  • rotation (roll, pitch or yaw)

Rotation manipulation enables to rotate an object by one axis.

It is possible to move the compass pivot point. In order to change the position of the compass is to hold the grey control point and dragging it (like moving an object using the laser). An other way to change the pivot point is to click the grey control point  and then select an axis or a plane to move the compass or quarter of arc to rotate it.  To end the modification, click on the grey control point again. Starting now, if any object rotation will depends of the new pivot point. Resetting the compass to the default position can be achieved by cancelling and rerunning the compass manipulation command

The translation/rotation modification value indicates how much it has been translated / rotated since the action button was pressed.

 

Manipulate selected objects (4)

Manipulate selected objects move the prior selected object freely in the scene. The object will move around the hand corresponding to the controller whose action button is pressed

 

Before selecting the command, the object that will be moved  need to be selected.

Running the command will switch the light saber to the hand. The object will move around the hand corresponding to the controller whose action button is pressed

 

Manipulate objects with lasers (5)

Manipulate objects with laser move the pointed object using the laser in the scene. The object will move around the controller whose action button is pressed.

 

Manipulate overlap objects (6)

Manipulate overlap objects move overlapped object freely in the scene. The object will move around the hand corresponding to the controller whose action button is pressed

 

Reset parts positions (7)

In case objects are selected, it only reset their position to their start position. Otherwise it reset the position to their start of all object in the simulation.

 

Rescale

The rescale command allow to change the size of an object inside the virtual world. To do so, make sure to have the Rescale Command enabled in the VR interface.

The rescale command takes one parameter, « Keep Proportion » , if enabled object proportions will be kept.

First of all you need to select the objects on which you want to perform a rescaling, then trigger the command in the pie-menu, the selected object(s) should now be transparent, there is a bounding box  surronding the selected object(s) on which is draw its size in mm, there are also some green square on every corner of this box.

To perform a rescale, grab one square with the controller trigger and move it to the desired position, once the rescaling is done, leave the command with the thumb button, the selected object apparence should be back to normal.

If you select only one object you’ll be able to change the scale on every axis (depending if you have disabled « Keep Proportion » parameters) ,  if you select more object, the proportion will be kept.

Cet article vous a-t-il été utile ? Oui Non

Comment pouvons-nous aider ?