A simple actor.
We throw a cube in the virtual room, our rigid body cube is then set as the target point for the helicopter. The helicopter gets the target position and kicks the cube away.
At 00:31 you can see the new position analyzer. You can temporary lock, set and call positions for debugging purposes.
The drone starts and the player can control the landing point. You can track the position of the drone and put it in different states. The drone is completly configurable. It can be very fast and responsive - or slow and boring. This could be a actor to help your player - or to attack it. A soft collision and it will restart into air - a hard collision and it stops. There is one raycaster for the floor collisions and one for the wall collisions.
Тэги:
#godot_3 #the_ship #pathfinding #opengl #game_design