Issues

Issue #895 resolved

body:getWorld

ndyck
created an issue

body:getWorld is in the c++ box2d library, but do not appear in the love.physics module. Could this be implemented in the next release, or could someone explain why it has been omitted?

This function is really handy when you just have a body, but you need access to the world in order to do a raycast / queryAABB.

Thanks!

Comments (2)

  1. ndyck reporter

    I also noticed that body:getUserData has been implemented in the latest release, so for now I can store the world reference there. It would still be handy to have a getWorld function though.

  2. Log in to comment