Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I'm having problems with a mouse projectile, can anyone help me?

I'm a scripter but I myself don't know everything and it's very very hard for me to get this straight into my head right now. I would appreciate it if someone would take their time to help me.

Basically I want it to be so it can be aimed at cancollided objects but if the object is not cancollided it doesn't care and just goes threw or more like it just doesn't focus on that object. Can someone help me with that?

1 answer

I mean, you could just use .Touched for that. But personally, I would just raycasting and then check for the CanCollide property using an if statement.

1 comment

0

Well I do want it to have gravity tho

This discussion is preserved as it was. New answers, comments, and votes are closed.