physics

  1. tagwolf

    Is there a pulley with motor?

    I'm wondering if it's possible to create a pulley joint that has a motor attached to the pulley. Example: Counterweight <-> Cable/Rope <-> Motor w/ Pulley <-> Cable/Rope <-> Elevator So that you could drive the elevator up/down and the counterweight would assist with the load and lower as the...
  2. Japster

    Demo Playable Teaser! - Gravity Star Rescue 'n' Racer (GSRR)

    ** TEASER updated at the same link! ** Now contains difficulty selections to try (they add more hazards, and some more troublesome turrets, rotators, etc) - conversely, if you select difficulty levels 1,2 etc, there's LESS stuff to worry about for those races / trials / on those difficulty...
  3. Mookal

    HTML5 [Solved] Binding Physics Fixtures Causes a Crash

    [HTML5, GMS2] I'm creating a customizable physics simulation intended to be playable in browsers. Everything was going smoothly until I implemented the ability to scale the physics objects (I'm using the built-in physics system). This involves creating fixtures with the proper sizes, and...
  4. P

    Bumping balls

    Hi, everyone. And I really need your help because my script doing physics of ball colisions is pour and I guess I need a new one. So please if you have a script or ideas of making it to Find angle of balls(circles) moving and their speed after hitting each other , please, help and share it with...
  5. Nocturne

    Released Microscope Madness

    OUT NOW FOR iOS AND ANDROID!!!! COMING SOON TO PC AND MAC! While working in the laboratory one day, you notice something strange… mutant motile cells have escaped their cultures and are trying to reproduce!!! Can you stop them before they mutate the mother cells and take over the planet...
  6. HayManMarc

     Hippie Bus (physics side driver)

    Hippie Bus You play a peace-loving hippie fresh on vacation from your job. You've taken the week off so you can go to the annual camping festival "VolksKamp". You must get everything you need, then drive the Hippie Bus out of town, up the mountain, and into camp. There may be other...
  7. Y

    GML (SOLVED) A prismatic joint keeping a object equipped on anothers' backside (from a side perspective)

    Hello community, I am attempting to program a method to make two physics fixtures properly interact with each other which is making a backpack (physics object) properly attach to the backside of the player character (physics object) even while turning left or right or rotating, this must work...
  8. HayManMarc

    GML Physics- how to stop wheel from turning?

    Hi y'all! So, I have a physics room set up with physics objects and all working like it should. Side view, angry-birds-style, where gravity is downward. I have a wheel object that I can add torque to and make it spin. It will then travel across the ground, up and down hills, jumping with...
  9. W

    GML Physics: Bullets Not Shooting Straight W/ 360 Aim

    Hi, I can't seem to get the player's projectiles to shoot straight using physics. In the game I'm making the player has 360 degree aim. Currently bullet direction is decided by phy_roations = obj_player.phy_rotation. It does the job for the most part except the trajectory of the bullets are...
  10. B

    GMS 2 phy_fixed_rotation not persisting between rooms

    Hi all. Getting to grips with GMS2 and the in-built physics, and have come across an issue. The same issue is mentioned in this thread, back in June: https://forum.yoyogames.com/index.php?threads/fixed-rotation-not-working-after-moving-between-rooms.64104/ In the creation code for my player...
  11. Fallspace

    Free Keplers Cosmic Arcade

    I made a 2d planetary orbit sandbox for my kids. Get a feel for orbital motion - and have fun blowing stuff up. I was experimenting with orbital mechanics, and orbital insertion in particular, and ended up with something my kids enjoyed playing around with. I used this site as reference for the...
  12. A

    Creating fixtures or using an object for solid static blocks?

    There is probably a really simple answer to this but I recently looked through the physics tutorial on the blog and was wondering what the benefit of having this in the create event of a static floor object is... var fixture = physics_fixture_create(); physics_fixture_set_box_shape(fixture...
  13. Robzoid

    Physics Engine Pixels to Meters

    I'm working on a 2D billiards/pool game and figured this would be a good place to use the GameMaker physics engine. This is my first time using it. I'm concerned I'm not understanding the "Pixels to Meters" field in the Room Editor. By default, it has a value of 0.1. I figure a "Pixels to...
  14. R

    Discussion Moving Kinematic Object in Physics Room

    I'm trying something out working with physics and still a bit new to it. I'm using physic in a room, but I have one object that I don't want to react to gravity, but still want to collide with other objects. So the way I understand it, is that I need to make it kinematic, and the density needs...
  15. B

    (Solved)Problem moving object from on position to another in a certain amount of time using lerp()

    Hi all, I'm migrating a game that I've been developing in Unity to GMS2, and I'm struggling with this part as I don't know how to implement this in GML. Basically I just wan't to make a object move in one position to another in a certain amount of time throwing balls, just like this. The code...
  16. André Guilherme

    GML How to create collision shape for a line that the player is drawing?

    Hi everyone! I'm making a game using physics in which the player can draw a line that functions as the ground. I can already draw the line, but I'm having trouble setting up its collision shape, and the ball never collides with it! (see image) Here's my code! When the player holds the left...
  17. Harper

    GML Bullet Collisions with Physics Enabled

    So I've been converting my game over so that it works with physics enabled, and I've my bullets working mostly properly but I'm not sure how to do overlapping collisions with Physics enabled. I'm thinking maybe each bullet could have collision_circle() with a very small radius, but I'm not sure...
  18. 0TastyPie0

    GMS 2 Drawing a line that then becomes solid for other physics objects

    I'm working on a marble run type game, were the player can draw lines for the marble to run down. I use fixtures to setup and draw the line, however other physics objects (such as the marble) seem unaffected by the line. They simply pass through it, when the line is suppose to act as a wall...
  19. Mr Trick

    Predicting a physic impulse object's trajectory

    hay guys how can I make aiming like this for impulse?!
  20. tagwolf

    Basic Physics Platformer Controls

    GM Version: GMS2 Target Platform: ALL Summary: I had made a platform control tutorial that is a bit more advanced than this one as it does not use any of gamemaker's built in physics engine. However someone suggested that I also do a physics one so here it is! If you're interested in the...
Top