Angle span raycast

please i’ve requested this before we need it

3 Likes

image

1 Like

I think he’s asking for a cone shaped ray cast.

2 Likes

cone

3 Likes

I originally thought of a cone and thought “What’s the difference between that and a triangle?” Forgot the difference was that a cone curves down on the bottom, making part of a circle.

This would be nice; in the meantime you can do this with normal raycasts and angle checks

2 Likes

way too laggy, i’d rather just use a proximity and angleto
it’s not perfect but it works

1 Like

Additionally,

is this possible in Flowlab?

2 Likes
1 Like

imean the cone image I posted

I mean you could a sprite shaped like a cone and use polygon hitboxes

1 Like

okay thank you

I don’t mean raycast tons of times at slightly different angles, I mean find the angle from the target to the object and then determine whether that angle is between the limit angles of the “cone” that you want

that’s what i also described, i thought you were tlaking about using like 50 raycasts to simulate it

1 Like