My ball seems to loose velocity after collision even though i have set friction to zero.Anyway how to make velocity of the ball not a fall below a threshold value.
Answers
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
When self.Motion.Linear Velocity.X < 30 --> Constrain attribute self.Motion.Linear Velocity.X to 30.
Or...
Constrain attribute self.Motion.Linear Velocity.X to max(30,self.Motion.Linear Velocity.X)
When self.Motion.Linear Velocity.X < 30 --> Constrain attribute self.Motion.Linear Velocity.X to 30.
Or...
Constrain attribute self.Motion.Linear Velocity.X to max(30,self.Motion.Linear Velocity.X)
If i use this then my ball keeps on moving towards right of screen Well i cant make density to zero bec my ball has to collide with other objects and i need those objects to react physics accordingly
Answers
Or...
Constrain attribute self.Motion.Linear Velocity.X to max(30,self.Motion.Linear Velocity.X)
including velocity … when you do not want the velocity to change
on ballActor:
change Physics:
… Friction to 0 and Density to 0
that should keep the ball from slowing down
Well i cant make density to zero bec my ball has to collide with other objects and i need those objects to react physics accordingly