Raycast Examples (3 relatively simple examples)

About (Ray cast)
(GetProperty) and (Translate)(Scale) RB when hit with (Ray cast)
(example file)

extra information: in the example, I noticed that the node (On update) generates a bug that does not ignore the (objects) without the property (food) when having more than 2 (node ​​tree) similar

In case you have (node ​​tree) “similars” that use the node (on update), feel free to use the node (pulse), since this gives a margin to avoid checking at the same time and therefore, avoid the bug.
You can also visit the youtube channel of the link, for more information and learning.

[Armory 3D Community Channel]

more examples about Ray casting

User author to the video and channel

1 Like