en:examples:objects:object_get_set_rotation
Get and Set Rotation on an Object
orxOBJECT *heroObject = orxObject_CreateFromConfig("HeroObject");
orxFLOAT rotation = orxObject_GetRotation(heroObject);
rotation += 10;
orxObject_SetRotation(heroObject, rotation);
en/examples/objects/object_get_set_rotation.txt · Last modified: 2018/02/14 00:47 (5 years ago) (external edit)