lua - How to find the center of a CircleShape in Love2D? -


For debugging purposes, I have to attract all the physics bodies in my love 2D game. It's easy for polygons, but CircleShaps present a problem: I can not get their center!

The function getLocalCenter actually what I want, but it was removed 0.8.0. First of all, I'm worried that removing this can be a mistake. First of all, I need some type of options to attract my debug output. Is there a function anywhere that I need?

CircleShop: getpoint love2d 0.9.0 , which resolves my problem. As it turns out, the wiki page I was reading closed, which I downloaded and used for offline use was using it because the faster navigation compared to their online versions was older, and it does not reflect the new function was. / P>

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -