Custom debug drawing

edited June 2013 in Help request
Can I implement ScrollObject::OnRender, and draw debug information to existing viewports similar to what's implemented in the orxPhysicsDebugDraw::Draw* class methods?

Comments

  • edited June 2013
    Yep, you can issue "debug" draw calls from anywhere in the code, including OnRender. However your draw calls will be issued before your object is rendered, so they'll appear behind it.
    In order to solve this, you can listen to the orxRENDER_EVENT_OBJECT_STOP instead.
Sign In or Register to comment.