Problem with Drag

alexullealexulle Member Posts: 27
edited November -1 in Working with GS (Mac)
Hi,

I've got a little problem with Drag.
I accelerate an actor and want him to break when I didn't press the key any more.
It breaks, but not to zero speed. It still moves with little speed.

Comments

  • synthesissynthesis Member Posts: 1,693
    try
    change attribute: self.velocity.X (or Y) = 0
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you could also put an accelerate to 0 rule in there, but that might not be quick enough.
  • hoomann210hoomann210 Member Posts: 63
    i have the same problem in my project...changing self.velocity.X(or Y)=0 didn't work
    i even changed movable attr. to false it still moves...self velocity sometimes get to zero but most of the times it won't
Sign In or Register to comment.