#problems with raycasting
1 messages · Page 1 of 1 (latest)
Try multiplying direction by an anticipated range
Should work then
like in the raycast call do direction * 100 for example
is there any more reliable way like excluding the muzzle part. Im suspecting this happenning because i cast a ray inside a part
Well what you have right now should work to avoid casting inside the muzzle and you can just disable CanQuery for the muzzle
no
Is the muzzle facing the right way?
im not even sure but sometime it detects my right foot if i step over it
Yeah it might be facing the wrong way then
i tried going around the muzzle
** You are now Level 1! **
nope doesnt work
im just trying to make wall banging with raycast so these are the first few steps
Ok that's weird because you should at least get some sort of return at least
What does the model look like when you're like trying to raycast>?
wym model here
Like how is the muzzle part placed in the gun?
** You are now Level 2! **
no it is just a 1x1x1 stud rn placing on baseplate
Ohhhhhh alr alr
Do you just keep getting it completely nil?
Because this should work now
uh keeps getting nil
Might just be an issue with the part you're using then
Alr nice 😭
bro 😭