I don't know how to make two objects collide.
- I have imported a rigged tulip into Godot 4.2.1.
- I created a physical skeleton for it by using the built-in function Godot provides. The skeleton contains physical bones and inside each bone is a collision shape. All of that was automatically created by Godot.
- In the scenegraph, I put that skeleton into a RigidBody3D
- I duplicate that RigidBody3D (RB1) to create a second tulip. I place the second Rigidbody3D (RB2), which contains the second tulip, next to the first one.
- I attach a script to RB1 to move it in the direction of RB2, to make them collide, but it doesn't work. I use that script:
func _process(delta):
move_and_collide(Vector3(0.01, 0, 0), false)
pass
Any idea why the collision doesn't work? I appreciate any help. Thank you!