User Tools

Site Tools


en:examples:physics:get_body_from_object

Getting the Body from an Object

[Player]
Graphic = PlayerGraphic
Body    = PlayerBody
 
[PlayerBody]
PartList = PlayerBodyPart 
 
[PlayerBodyPart]
Type  = box
Solid = true
orxOBJECT *playerObject = orxObject_CreateFromConfig("Player");
orxBODY *body = orxOBJECT_GET_STRUCTURE(playerObject, BODY);
en/examples/physics/get_body_from_object.txt · Last modified: 2018/07/14 09:03 (6 years ago) by 127.0.0.1