Page 555 - ExtendSim User Guide
P. 555

3D Objects 529
Changing object properties
will be shown in the E3D window if the value of the input connector is >= 0.5; it will be hidden otherwise.
Rotate an object
Depending on the object, there are several ways a 3D object can be rotated: • Iftheobjectwascreatedbythe2Dmodel:
• Change rotation settings in the corre- sponding block’s Block Animation tab or in the Create block’s Item Animation tab.
Options in Block Animation tab
• Settheobject’srotationusingtheAni-
mate 3D block. (This is an advanced method; see page 558.)
• If the object hasn’t been created using the 2D model:
• Use the World Editor Inspector mode of the E3D Editor to rotate the object with the Gizmo or to change the value of its rotation property
• UseanequationblockorprogramwithModLfunctions(discussedintheDeveloper Reference)
Scenery and other 3D objects created in the E3D window using the E3D Editor can be rotated using the Editor, but a 3D object created by the 2D model can only be permanently rotated by changing block dialog settings or by using the Animate 3D block.
Use the Block Animation or Item Animation tab
If an object has been created by the 2D model, its rotation can be adjusted in the block’s dialog. In the Create block’s Item Animation tab, or in any block’s Block Animation tab:
Enter numbers in the rotation field:
Close the block’s dialog
The object’s rotation value is saved when the model is saved
➠ For example, using the How To E3D model you created on page 520, try changing the rotation field in the Block Animation tab of the Create block. Then close the block’s dialog to see the effect on the door object in the E3D window.
☞ The rotation value is based on a 360 degree range; blank is the same as 0 or 360. For objects that have a natural front, that front will by default be facing forward (towards the positive Y direction) for the 0 or default rotation setting.
Rotate the object using the World editor
If an object has been created using the E3D Editor, it can be rotated in the E3D window. To do this, either:
• RotatetheobjectwiththeGizmoinanyWorldmode
• Or,changethevalueoftheobject’srotationpropertyintheWorldEditorInspector The object’s rotation is saved when the environment file is saved.

   553   554   555   556   557