#problems with raycasting

1 messages · Page 1 of 1 (latest)

normal igloo
#

im trying to make a projectile module. Basically casting a ray from a muzzle but it just doesnt work, any clues?

dense sky
#

Should work then

#

like in the raycast call do direction * 100 for example

normal igloo
#

is there any more reliable way like excluding the muzzle part. Im suspecting this happenning because i cast a ray inside a part

dense sky
normal igloo
#

i dont see that property

#

nvm it is in the script

dense sky
#

Click through disabling the collissions it'll pop up

#

Does the raycast work now btw?

normal igloo
#

no

dense sky
#

Is the muzzle facing the right way?

normal igloo
#

im not even sure but sometime it detects my right foot if i step over it

dense sky
#

Yeah it might be facing the wrong way then

normal igloo
#

i tried going around the muzzle

clear eagleBOT
#

studio** You are now Level 1! **studio

normal igloo
#

nope doesnt work

#

im just trying to make wall banging with raycast so these are the first few steps

dense sky
#

What does the model look like when you're like trying to raycast>?

dense sky
#

Like how is the muzzle part placed in the gun?

clear eagleBOT
#

studio** You are now Level 2! **studio

normal igloo
dense sky
#

Ohhhhhh alr alr

dense sky
#

Because this should work now

normal igloo
#

uh keeps getting nil

dense sky
#

Might just be an issue with the part you're using then

normal igloo
#

ill see

#

so weird

#

i got it i didnt multiply the direction

dense sky