GorkaGames
Member
I'm coding a new ability: Swim and Dive.
I've followed the steps on the documentation: https://opsive.com/support/document...r-controller/character/abilities/new-ability/
And I have already created the class, but I'm getting a issue to activate the ability on the exact point I want.
It's set up in automatic, trigger (on the surface water) and the swimming and Idle animations runs great for me, except that....:
When the trigger enters, its when the character step on the surface, so the player starts to swim when he is already standing and not with the water at right altitude, lets say at his chest.
So I have tried to change the start activation to manual and override on trigger enter to calculate the exact high before playing the animation. But I get in troubles as:
I can't override on trigger update (it seems its not already coded on your class and on trigger enter is not enough)
I can't override on update,....
So basically I don't know how to get real time values when the character is moving inside the DetectObjectAbilityBase inherit class.
Any ideas?
I've followed the steps on the documentation: https://opsive.com/support/document...r-controller/character/abilities/new-ability/
And I have already created the class, but I'm getting a issue to activate the ability on the exact point I want.
It's set up in automatic, trigger (on the surface water) and the swimming and Idle animations runs great for me, except that....:
When the trigger enters, its when the character step on the surface, so the player starts to swim when he is already standing and not with the water at right altitude, lets say at his chest.
So I have tried to change the start activation to manual and override on trigger enter to calculate the exact high before playing the animation. But I get in troubles as:
I can't override on trigger update (it seems its not already coded on your class and on trigger enter is not enough)
I can't override on update,....
So basically I don't know how to get real time values when the character is moving inside the DetectObjectAbilityBase inherit class.
Any ideas?