Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Naming a Push Button Item (FBX)

  • Last UpdatedApr 28, 2023
  • 1 minute read

Naming a Push Button item

A Push Button creates both push and state buttons.

  • The push button is modeled with a mesh that moves along the X-axis when the button is pressed. Watch for potential overlaps when modeling.

  • Two dummies are used to set the position of the released and pressed button values (button0 state released, button1 state pressed). By convention, the pushbutton is modeled in the released state.

Script node

ItemPushButton

Mesh hierarchy

root

|--pushbutton_xxx

|--pushbutton0_xxx (dummy)

|--pushbutton1_xxx (dummy)

|--(label_pushbutton_xxx)

Building the item

  • Create the mesh of the button.

  • Create two dummies named pushbutton0_xxx and pushbutton1_xxx.

  • Set the rotation pivot of the pushbutton_xxx and of the two dummies on the x-axis.

  • The positions of pushbutton0_xxx and pushbutton1_xxx must correspond to the center of transformation pushbutton_xxx.

  • Assume when the button is completely open or closed.

Comments

  • The animation of the button is completely in charge of the logic scripts.

In This Topic
TitleResults for “How to create a CRG?”Also Available in