Here are some things regarding your posted Behaviour Trees that I see could be wrong:
– In the Player BT, the Condition (“If Left Click”) seems to point to “Use Self”, which means that it expects to actually click on the player capsule. I presume you want to click on the plane though :). As such you will need to “override the agent” with the checkbox and assign the Plane Collider to the Condition Task.
– In the Sphere BT, I presume you want your “Start” node to be the Sequencer rather than the Condition (?). Also, for triggers to work in Unity, one of the two objects (Sphere or Player) needs to have a Rigidbody Component. You can add a Rigidbody component to the Player and set it’s “Is Kinematic” to false so that it does not actually have physics, but still works for triggers and collisions.
Let me know if the above helps you (or not) 🙂
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.