HELP: What did I collide with?

There are no stupid questions, just stupid answers.
2 posts Page 1 of 1
Jason Campbell
Posts: 335
Joined: Fri Feb 13, 2015 2:51 am
by Jason Campbell » Sat Apr 21, 2018 12:48 am
Perhaps you could use a Raycast with TypeMasks? This link covers a fake melee attack but perhaps the basic idea could be applied, without the weapon of course.
Site Admin
Posts: 426
Joined: Tue Feb 03, 2015 7:25 pm
by LukasPJ » Sat Apr 21, 2018 7:08 am
The information should be available.
Around the bottom of this wiki tutorial, you can find an example of a onCollision function :

Make sure you are using it correctly. That said, can you share the error message, console.log and /or the script that is failing?
2 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests