Hi! When the character is hit, I want the character to face the direction of the hit and then start the Damage Visualization ability.
I recorded an example from loz64:
What I've done so far is copy the Damage Visualization ability to a new script lets' call it DamageVisualizationMyVersion and recoded the OnImpact method to handle this logic.
1. Is this the right place to do this logic?
2. How do I actually rotate the character? Can you please help with the code here? I'm not very good at this math stuff. Sorry!
I recorded an example from loz64:
What I've done so far is copy the Damage Visualization ability to a new script lets' call it DamageVisualizationMyVersion and recoded the OnImpact method to handle this logic.
1. Is this the right place to do this logic?
2. How do I actually rotate the character? Can you please help with the code here? I'm not very good at this math stuff. Sorry!