Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003720GameMaker: Studio[All Projects] Physicspublic2012-05-23 16:082014-02-27 10:37
ReporterMark Alexander 
Assigned ToChris Harrison 
PlatformAllOSOS Version
Summary0003720: Suggestion: Physics: Extra variables for physics
DescriptionIf it is possible, it would be nice to have the following variables available in the physics :


That way people can change certain fixture properties "on the fly" rather than having to recreate the instance and the fixture.
GM Version
Attached Files

- Relationships

-  Notes
alexandervrs (updater)
2012-05-23 23:07

I think you mean phy_angular_damping than phy_rotational_damping.
But yeah, these are my wish as well.
Mark Alexander (developer)
2012-07-04 11:09

Yes, angular... Changed the bug to suit... As for the image that has been added, this is not relevant to the problem at hand, but rather bug 3699, so I have removed it from this post.
cloudbomb (reporter)
2013-04-17 18:58

I agree that this is something desperately needed for a proper efficient workflow. The current method is simply too tedious and extremely inefficient.
Chris Harrison (developer)
2013-05-06 10:10

I think the reason why I didn't put these in to start with is because they're defined at a fixture level and you can have multiple fixtures per body if you go via gml.
Chris Harrison (developer)
2013-08-30 16:36

And now that you get a fixture index back when you call physics_fixture_bind() we can have access to the friction, density and restitution.

physics_set_friction(fixture, friction)
physics_set_density(fixture, density)
physics_set_restitution(fixture, restitution)

NB: The fixture referred to is the one you get back from physics_fixture_bind() NOT the one from physics_fixture_create().
Chris Harrison (developer)
2013-08-30 17:37

See note about density, friction and restitution.

phy_linear_damping and phy_angular_damping as well as phy_speed (which you can't set).

v >= 1.2.1131

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker