physics

  1. J

    SOLVED Moving Object Twitching While Turning Towards Mouse - Using Physics Engine

    I have a space ship coded to turn and face the mouse position. Physics is on. Works great. However, when the object is moving specifically diagonally and the mouse is positioned perpendicular to the ship's movement, its phy_rotation twitches slightly. I did a lot of playing around with different...
  2. OKOCIM

    Adding a new object with ANY parent crashes game?

    I recently merged changes with my teammate, and afterwards anytime I tried to enter a room (past the menu / config room) the game would crash with dreaded "exited with non-zero status (-1073741571)". After some digging I decided to create a test room and add in objects one by one, and discovered...
  3. Bart

    SOLVED Gear joint doesn't seem to do anything

    Hi all. I am currently doing some testing with the gear joint of the physics system in GM:Studio 2.3.5. So far I haven't got this type of joint working and I fail to see why. My little setup for that looks like this: A torque is applied to the disk on the left which makes it rotate around...
  4. Torinometry

    [HELP] Celeste style hair physics but with a scarf

    Hi! I am trying to make a scarf that has physics similar to the hair physics in Celeste. I've been looking around for a good while with no way I could understand how to do it. Also the scarf would have a pattern so if it were to be multiple segments it would be nice to be able to change the...
  5. LikWid-Official

    SOLVED Point-in-Direction Movement using Sin & Cos

    I've used this code for quite some time now in a separate engine, and found it works flawlessly. However, when I use the same concept in GMS2, I seem to have trouble with where the object accelerates. Basically, I want an object to change it's x and y position based on the direction it's pointed...
  6. 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...
  7. 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...
  8. 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.
  9. Zeth_Aran

    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...
  10. 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...
  11. 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)
  12. A

    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...
  13. 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...
  14. S

    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...
  15. R

    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...
  16. 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...
  17. Mert

    Android Physics! Fun - Sandbox Game

    Platforms : Android (Google Play, Amazon Appstore) 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...
  18. 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...
  19. inertias

    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...
  20. 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...
Top