How to use different raycast?

How do i use raycast?
Im very new to flowlab about a few month I think and I think its time to started using the complicated stuff since im getting into flowlab.
What are the different types of raycast?
For example how ememies stay a current range away from you when attacking or when they are chasing after you and stop when they dont see you.

2 Likes

There is only one type of raycast? The behaviour is in the components.

1 Like

One type of raycast? hm thought there would be multi but ok

1 Like

What else would there be?

1 Like

how do I use raycast?

1 Like

You put something into the cast input and it outputs if it hits the object or misses

2 Likes

ok so its like
collision:player → raycast → if hit attack → if miss dont
???

1 Like

Basically, you will probably have to change the angle so it goes in the right direction. Remember that it shows a preview of the line on the object you are editing.

2 Likes