Jump to content

strange physics beheiver?


Andy Gilbert
 Share

Recommended Posts

Im finding odd things happeneing with physics?

 

To explain, i have one variable "up", that is a float that that i increase with a keydown. I apply that var to an upward force on the cube.

 

I increase it, until the cube slowly starts to go up, at that point i let go, if i leave it slowly risingit seems the higehr it gets the more force it gets?

 

for instance...i noticed that to get the cube to rise VERy slowly the number is say 2, and when its only just rised a bit in infront of the camera if i lower the var to say 1.95 it will start to lower again. But if i let the cube rise and rise it seems to get faster and faster without me rising the var, and then to get it to come back down i have to lower the var to like 1, where when it was already lower down, i only had to drop to 1.95 to make it go down?

 

Why is this?

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...