dav
Full vMember
Posts: 56
|
Post by dav on Mar 8, 2018 12:11:35 GMT
Hi, I have this issue that is driving me crazy. Please see the video bellow, it's quite funny (start at 10:00 sec.): www.dropbox.com/s/xqxblaerqeg7r3e/2018-03-08_12-02-36.mp4?dl=0The player is child from the pirate's boat (we need that in order to navigate the boat and keep our player on the boat) But as soon as a enemy boat is coming with a sphere collider (is trigger) the player is either rejected outside the sphere collider range or is blowing away as shown in the video. We have tried the following (no success) - Remove the rigid body on the enemy's boat - Change the layer to default or Trigger on the enemy's boat The only way it works is removing the sphere collider but we need it in order to chase the pirate's boat (player) Any ideas?
|
|
|
Post by billythekid on Mar 8, 2018 13:25:04 GMT
Try to change the trigger colliders layer to ignoreraycast. I am a user myself but I remember having a similar problem and that helped.
|
|
dav
Full vMember
Posts: 56
|
Post by dav on Mar 8, 2018 13:42:38 GMT
Try to change the trigger colliders layer to ignoreraycast. I am a user myself but I remember having a similar problem and that helped. Thanks billythekid, I've been playing around and finally i got the solution (it wasn't the layers). It was I mistake with the code, assigning the player child to the wrong boat, it took me weeks to realised this !! :(
|
|
|
Post by Invector on Mar 8, 2018 16:55:51 GMT
LOL that's quite a bug Take a look at our vPlatform script and try our approach for your boat/child
|
|