Hi,
I have a strange thing happening when using the Physics:Raycast Action. It's used in a bit more complicated manner, but the result is the same so if I do the following in a First Person game:
1. Add a cube, assign hotspot with Action List Asset Action
2. Assign the Use:action from the attached figure (From Origin Forward). Origin is a Marker ("SleepingBag Raycast") that is placed as a child object of the First Person Player prefab.
-> The action goes directly to "If no object detected" and there is no red line to show that a ray has been cast.
Then:
Then
Then:
Then:
What am I missing?
Unity: 2021.3.8f1
AC: 1.80.5
// Magnus
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
A bug, most likely.
Open up AC's ActionRaycast script, and look for the following around line 100:
Just under, add:
Does that resolve it?
Hi Chris,
No unfortunately not. It's still like the top case, where no ray is cast.
A little further up, there should be:
Replace with:
Yes, works perfect. Thanks a lot!!