Hello,
I have the following scenerario:
- AI Actor flies following a spline in the air
- Gets hit
- Animation and motion stops
- Physics activated and Fall mode activated
- Since it has a ragdoll setting, the actor falls and it hits the landscape that also has all collision and overlap settings and rests on the surface.
Now I want the actor to make a sound when it hits the landscape but I am unable to use any trick to detect that it hits it.
I used a few methods on this forums, from tracing to detect movement type etc. but it seems that the actor is always in a falling mode even if it hits the ground according to the Print string.
Also using the XYZ seems not useful because when I print the values to see what is happening, I noticed that the 3 axis values register the moment the actor leaves the Spline and the values do not change to render the fall.
In fact, the only time the sound could trigger is at the moment it leaves the Spline and drops.
I have a hit event for the projectile and also tried to use it for the landscape detection but not working either.
Any idea?
Thanks