generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Touched (sometimes?) doesn't fire while using CFrame.

Previous Thread :: Next Thread 
eprent is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
juniorjfive is not online. juniorjfive
Joined: 05 Jan 2010
Total Posts: 671
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image