View Issue Details

IDProjectCategoryView StatusLast Update
0028604RunnerFunctionsPublic2018-01-08 08:40
ReporterStewart BishopAssigned ToChris Harrison 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ResolvedResolutionNo Change Required 
Product Version 
Target VersionFixed in Version 
Summary0028604: Functions: physics_world_draw_debug doesn't offset fixtures correctly
DescriptionWithin the attached sample project the circle and box are drawn centred on each other, rather than offset according to their physics_fixture_bind_ext parameters.
Steps To Reproduce1) Run the attached project
2) See the debug locations don't match based on their offset
1.4 Found In1.4.17
2.x Runtime Found In2.1.3.189
2.x Runtime Verified In2.1.3.189

Activities

Stewart Bishop

2018-01-03 11:44

Adminstrator  

ski.yyz (20,197 bytes)

Chris Harrison

2018-01-08 08:40

Developer   ~0057194

physics_world_draw_debug() draws you exactly what the physics is doing.

physics_fixture_bind_ext() allows you to add a visual offset so the sprite used to draw the instance ends up in the right place.