The Daily Click ::. Forums ::. Klik Coding Help ::. CF2.5 race car movement
 

Post Reply  Post Oekaki 
 

Posted By Message

hapsi



Registered
  13/11/2003
Points
  775
12th August, 2014 at 12/08/2014 14:08:15 -

I don't understand why Clickteam left out a feature of 'Box2D race car physics' the thing that a car (or something) would slow down while not pressing forward/backward.

I tried to do this so that when not pressing up or down, the speed would decrease. It works when driving forward, but when i drive backward and release the down button, the car just jumps forward the speed it had backward and then slows down.

I had this resolved earlier but it's been a while since i have used click tools.

Can anyone help me with this?

 
[Signature][/Signature]

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49667

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
15th August, 2014 at 15/08/2014 19:34:01 -

I've seen this before. I don't use the clickteam built-in movements though, so I haven't tried to fix it.

This sounds like bug though, so maybe report it on the clickteam bugbox?

http://bugbox.clickteam.com

 
n/a

hapsi



Registered
  13/11/2003
Points
  775
18th August, 2014 at 18/08/2014 10:03:00 -

Can't log in with my account on bugbox. This should really be fixed. It should have been fixed in knp. Assuming there was race car movement there. Weird.

 
[Signature][/Signature]

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2723
18th August, 2014 at 18/08/2014 10:59:12 -

Not sure if I have the right movement in mind,

but isn't there a feature called deceleration in that movement?
If you set that to something other than zero, it should apply that deceleration and it should work.

Could be that I have the wrong built-in car movement in mind.


 
Image jenswa.neocities.org

hapsi



Registered
  13/11/2003
Points
  775
22nd August, 2014 at 22/08/2014 20:01:44 -

Both the Box2d and normal race car movements only slow down when you press up/down. What i mean is they should slow down automatically when no button is pressed. With normal race car movement this can be fixed, but in physics race car movement it cant because the speed can't be negative. At least i can't.

 
[Signature][/Signature]
   

Post Reply



 



Advertisement

Worth A Click