Firefly/ff movement
From Quasar-RCE
Firefly Movement Object
The Firefly Movement object lets you do complicated movements within the 3D scene easily.
You can use this object to assign Node objects Path and/or Directional Movements.
- Waypoints -
- Move a Node to - Select a Node via Fixed value and move it to a position using X, Y & Z inputs
- Move a Node with waypoints - Same as move a node to , accept you can add additional waypoints in front of the final end point. Using the following format in the expression editor, X,Y,Z|X,Y,Z|etc
- Move a Node in a Direction - Moving a node by setting Pitch, Yaw and Roll and speed
- Move a Node in the Direction of a Point - Move a node in a direction determining the Pitch, Yaw and Roll based on a position (X,Y & Z)
- Set a Node Movements Speed - Takes a node via Fixed value that is moving and allows you to change the speed.
- Pause a Node’s Movement - Pausing a active movement on a node.
- Resume a Node’s Movement - Return a node to a moving state after being paused.
- Stop a Node’s Movement - Stops a node moving and cancels a previously assigned movement
- FPS Camera
- Move a FPS Camera -
- Move a FPS Camera With Gravity -
- Set Mouse X Position - Moves the mouse cursor to given X screen coordinate
- Set Mouse Y Position - Moves the mouse cursor to given Y screen coordinate
- On Collision > Handle a Node’s Collision - This action will set a node’s position and then will cause a check of collisions that may have happened. This action should really be used to set (handle) a node’s position after a collision has occurred and use the node’s coordinates of where it collided as parameters. This action will also handle a Camera’s collision (should the node be a Camera), and set its Target to what it should be.
Conditions
- A Node has Movement - Comparing via Fixed value will trigger true if said node has a movement assigned to it.
- A Node’s Movement is Paused - Returns true if a specific node’s movement has been set to paused.
- Path Movement > A Node’s movement is complete - Returns true if a node set to a path movement has reached it’s final waypoint
- A FPS Camera is falling due to gravity - If the FPS camera is set to gravity and is in a falling state this will trigger
Expressions
- Get Speed of a Node’s Movement - Returns the speed of a node that is moving
- Path Movement > Get Progress of a Node’s Movement - Returns the progress of a node set to path movement.
- Calculations
- Get Distance between two points - By feeding the expression two sets of X,Y, Z values you can return the distance value between them
- Get 3D X Angle between two Points -
- Get 3D Y Angle between two Points -
- Get 3D Z Angle between two Points -
- FPS Camera Settings
- Get X Position of FPS Camera - Returns X value from the position of the FPS Camera
- Get Y Position of FPS Camera - Returns Y value from the position of the FPS Camera
- Get Z Position of FPS Camera - Returns Z value from the position of the FPS Camera
- Get X Target of FPS Camera - Returns the X value of the point that the FPS Camera is looking at
- Get Y Target of FPS Camera - Returns the Y value of the point that the FPS Camera is looking at
- Get Z Target of FPS Camera - Returns the Z value of the point that the FPS Camera is looking at
- Get X Falling Velocity of FPS Camera -
- Get Y Falling Velocity of FPS Camera -
- Get Z Falling Velocity of FPS Camera -
- Get Mouse X Position - Returns the current mouse cursor position, in screen coordinate
- Get Mouse Y Position - Returns the current mouse cursor position, in screen coordinate
- Get Last Mouse X Movement - Returns the last frame’s mouse position
- Get Last Mouse Y Movement - Returns the last frame’s mouse position