forces

  1. L

    GML Applying forces to a main character

    Just looking for some clarification on if i'm doing this correctly. My player has normal movement attributes: a velocity vector, max_velocity, accel, etc. // Move, creates the desired velocity based on player input player_move(); // Apply forces, 20 being the player's density, F = MA right? var...
  2. L

    GML [SOLVED] Physics Move at Certain Speed

    I'm having some trouble figuring out how to move my character at a certain speed, for example 2.68 m/s (average jogging speed for a person). I've defined 512 pixels as 1 meter in my physics room (value of 0.1354666667). Since the physics_apply_force uses newtons to move things, i'm not sure what...
  3. P

    Legacy GM Apply force without use box2d and general confusion.

    Hi everyone first of all sorry for my bad english, I am here because I have problems to simulate some physics for a little project 2d I'm working into. Basically I have a rectangle that rapresent my object I want to move with width of 160pixel. Now I want to use someone real proportion so I set...
  4. T

    [Solved] - Physics - Double Jump Scenario Issue

    Hi, I'm new here =) This looks like a great community!! I have a question regarding this: "physics_apply_local_impulse(0, 0, 0, -5 );" The Scenario i have the player object sitting on the ground, when hitting "Space" i run this command to jump using "physics_apply_local_impulse(0, 0, 0, -5...
  5. XirmiX

    Legacy GM [Solved] Can camera borders be controlled via code? Can objects not collide but be force affected?

    Sorry for the title getting a bit crammed there. Didn't have enough characters to put a dash in-between "force" and "affected" and add a question mark at the end :P So, I'm working on my game and a problem I'm getting is that "zoom in" and "zoom out" doesn't really work out properly. I've done...
Top