physics

  1. AbdatyK

    Object not Working as Sensor

    Hello, I'm relatively new to GameMaker so I'm trying to follow along a youtube tutorial by HeartBeast (found here). I'm aware that he's using an outdated version of GameMaker but I've been able to get by using the manual to fill in the gaps. What I'm stuck on is the damage object that is...
  2. Z

    Windows Need Help, On Vectors and Total Speed

    Quick Question, I need to know how I can represent the total speed of a moving character. E.g VelX = 10.6 VelY = 10.6 What should I add to my game that'll present this information onscreen? I tried Vel = √VelX^2+VelY^2 ; Doesn't seem to work cause my speed gets rounded up and if I move at...
  3. L

    Instance_create_layer not working on physics object

    When a object is destroyed, I want to create another object in a specific location, but idk why is doesn't appear. instance_create_layer(spawnx, spawny, "Instances", obj_Tank); Note: the object are physics objects.
  4. Zeth_Aran

    GMS 2.3+ Physics based blocks will not stop moving.

    I've been working with the GM2 Physics engine a little bit to try and see how it all works. I have a test project I've been working on for it. Every tutorial I find is too old or not being actively discussed so I'm hoping someone can point me in the right direction. Here are screenshots of the...
  5. O

    3d Collision method that allows rotation

    So what im looking for is a little complicated to explain, but it feels like it should be pretty easy. ill explain the best i can. Im making a 3d project and i currently have AABB collision implemented and it works great but it feels limiting since nothing can rotate (other than appearance, the...
  6. Pelican Police

    ✂︎ - - - - Banded - - - - - (minimal rope physics puzzle)

    Banded A simple and relaxing puzzle game about putting bands around things. Play test now You can play the tech demo in your browser here. There's no gameplay or objective yet, it's just to test the mechanics. Feedback All feedback welcome! (As critical as you'd like)
  7. A

    GMS 2.3+ Physics Collision Masks Off By One Pixel

    *** Update 7/13/21 I received an email from Yoyo's support team. They've identified this issue as a glitch and it will be addressed in a future update. *** Hi everyone. I sent this to YoYo more than a week ago and I haven't gotten a response. I'm assuming it's a glitch but I guess I could be...
  8. Pelican Police

    Stop physics joints from separating

    In the manual it says: "A rope joint is one which is used to join two instances that you want to keep a constant distance apart, no matter what other forces are acting on it. With a distance joint, you can get "joint stretching" where the two fixtures will separate and behave strangely should...
  9. ScaryPotato

    SOLVED Wheel of Fortune Question

    Video of spinning wheel /// @description Creating multiple spinning instances phy_position_x = room_width/2; phy_position_y = room_height/2; col = make_colour_rgb(217, 87, 99); render_flags = phy_debug_render_shapes | phy_debug_render_joints | phy_debug_render_coms | phy_debug_render_obb...
  10. R

    GMS 2.3+ Physics: Moment of Inertia

    I'm designing a system involving numerous particles. I want to be able to set the moment of inertia of these particles. At first, I had considered using the function physics_mass_properties to set the moment of inertia. However, a closer look at the documentation indicates that the fourth...
  11. despair3042

    Asset - Scripts Fixtor: The Next-Gen Fixture Editor

    Introducing Fixtor: An easy-to-use, reliable, full-featured physics fixture editor, for GameMaker: Studio 1 ~ 2.3+. As a fixture editor, Fixtor aims to overcome the fixture limitation of Box2D physics. You can now have as many concaved polygons as you want, as well breaking through the 8-point...
  12. Mert

    Android Physics! Fun - Sandbox Game

    Platforms : Android (Google Play) Category : Simulation Physics! Fun is water and ragdoll physics sandbox & destruction game where you can add wide variety of objects ⚽ , particles 💧, explosives, ragdolls 🤖 and liquids into the scene and blast it all over! The game has no objectives, but to...
  13. Andrey

    Asset - Scripts Path to fixture (chain_shape) converter

    If you are using the Box2D physics engine, this script can be useful for visualizing the chain. A simple script for converting a path to chain_shape. You draw a path in the room and then convert it to a chain_shape with the desired fixture settings. 1. Create a path. 2. Set the desired fixture...
  14. inertias

    GMS 2.3+ Physics Engine: how to prevent pushed objects from overlapping?

    Hello everyone, when using GM's built in physics engine, I noticed that when objects are against a wall and pushed, they will slide through each other. I attached a gif of what I'm referring to. Is there no way to prevent this or is it as simple as changing a setting that I'm not aware of...
  15. P

    SOLVED Oscillation Physics, how to implement?

    So, hello everybody, I am currently trying to implement the tutorial budy for my game. The game is a classical platformer but to understand the things better I've attached the screenshot. So the problem is that I want the dummy to swing like a pendulum if somebody pushes it. I tried using the...
  16. TongueSurgery

    Creating Physics Fixtures in code and "flipping" them

    Hi all, I created some fixtures in code to use and I'm wondering if it's possible to to just "flip" or mirror them so that it's the same fixture, but mirrored, depending on which direction the sprite is. I've seen a couple threads about this already, but they didn't really go into detail on why...
  17. G

    why my image simply not rotate?

    I made a simple code but it simply won't work and i don't know why...btw i have solid, collision and physics on, and i made a physics collision shape (convex shape) the code is if(keyboard_check("A")){ image_angle = image_angle + 5 }
  18. Azenris

    SOLVED box2d Circle resting on triangle point

    Hi, Im using box2d for the first time. Curious how do I stop a circle collision from resting at the top of a single point. Eg. A circle on triangle Not sure what code you want. Is this a setup problem? Ask if you need to see anything. Actually Ill atleast give the properties ball density...
  19. erayzesen

    Simple Raycast Script

    Hi all. I released a raycast code to use your any projects; Note: It support Game Maker Studio v2.3 and new versions; Check it out: (with online demo): https://erayzesen.itch.io/simple-raycast The method; var...
  20. eams1986

    Black screen Joint delete html5

    Hi! could someone help me? I am having problems when I delete a joint (physic) html5 in windows it works fine and in android then when I press the vk_up the alarm is activated and deletes the joint but in html5 the image is black :( what can it be? //Creation Box AuxR =...
Top