eprent
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 15007 |
|
|
| 12 Apr 2015 02:30 PM |
For whatever reason if you're using Touched while using CFrame it will not fire.
Let's say you're making a meteor. It would (most likely) be going down on a x/y axes. Using CFrame obviously, otherwise it would not mash with other parts.
If you're looping the CFrame to go down.. The corresponding Touched function would only fire half of the time, even if it's looping.
My question is.. How can I get around that?
|
|
|
| Report Abuse |
|
|
Proxemics
|
  |
| Joined: 30 Oct 2013 |
| Total Posts: 2542 |
|
|
| 12 Apr 2015 02:32 PM |
what do you mean sometimes? either it always fires or doesn't fire.
"sometimes" sounds like an error on your side to me |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 12 Apr 2015 02:35 PM |
Ray casting, collision checking, there's a lot of things you can do to simulate the touched event.
-=Robo=- |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 12 Apr 2015 02:59 PM |
Yeah, sometimes .Touched isn't really reliable Oh wait U said u used CFrame Yeah CFrame messes up the .Touched funciton |
|
|
| Report Abuse |
|
|
eprent
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 15007 |
|
|
| 12 Apr 2015 03:01 PM |
@Prox It actually only sometimes works lol.
Sometimes it will successfully hit the Touched event sometimes it wont.
/ UI Designer / Scripter / |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 03:01 PM |
I've made meteorites before, i used Raycasting to simulate the Touched event.
You'll need to know how to properly use the Raycast though, they can be tricky. |
|
|
| Report Abuse |
|
|