BaseMovable.tscn 553 B

1234567891011121314151617181920212223
  1. [gd_scene load_steps=3 format=2]
  2. [sub_resource type="BoxShape" id=1]
  3. extents = Vector3( 1.005, 1.005, 1.005 )
  4. [sub_resource type="CubeMesh" id=2]
  5. [node name="BaseMovable" type="KinematicBody"]
  6. [node name="CollisionShape" type="CollisionShape" parent="."]
  7. shape = SubResource( 1 )
  8. [node name="MeshInstance" type="MeshInstance" parent="."]
  9. mesh = SubResource( 2 )
  10. material/0 = null
  11. [node name="RayCastGround" type="RayCast" parent="."]
  12. enabled = true
  13. [node name="RayCastSide" type="RayCast" parent="."]
  14. enabled = true
  15. cast_to = Vector3( 0, 0, -1 )