Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Adam Z on December 30, 2020, 12:20:05 PM

Title: Block movement of an object from one position to another with a collider?
Post by: Adam Z on December 30, 2020, 12:20:05 PM
So I have the position of my VR controller. What Im trying to do is have a cube move towards the position of the controller, but if there's an object with a collider in the way block it. As an example; say I have a virtual table. If my controller goes through the table to beneath it the cube will stop at the top of the table, until my hand comes back above it or there is nothing stopping the movement between my controller and cube.

Both the cube and table has colliders on both. I've tried 'Move Towards" with little success. The colliders do not get taken into account.

Any thoughts would be helpful. Thanks!
Title: Re: Block movement of an object from one position to another with a collider?
Post by: Adam Z on January 06, 2021, 06:48:12 PM
Anyone have any thoughts? Thanks!