[Solved ]Damage based on actor acceleration
Hi there,
i have some kind of car race game and want to subtract damage points based on the speed of the car actor when it collides with a wall. How can i solve this?
SOLVED
I put this in the a change attribute behavior
health-(magnitude( self.Motion.Linear Velocity.X , self.Motion.Linear Velocity.Y )
i have some kind of car race game and want to subtract damage points based on the speed of the car actor when it collides with a wall. How can i solve this?
SOLVED
I put this in the a change attribute behavior
health-(magnitude( self.Motion.Linear Velocity.X , self.Motion.Linear Velocity.Y )
Comments