Offsets for box physics?

8 views
Skip to first unread message

Lawrence Du

unread,
Apr 2, 2018, 8:54:29 PM4/2/18
to KivEnt
Is there an option for getting offsets for box shapes?

I actually placed offsets in all my box shapes without realizing that this option doesn't appear to exist. All my hitboxes are actually slightly off.

I was wondering why this was omitted? 

Jacob Kovac

unread,
Apr 2, 2018, 10:00:08 PM4/2/18
to Lawrence Du, KivEnt
This is actually an artifact of the Chipmunk Libraries implementation, if you want an offset box shape you need to use the PolyShape and define a box yourself.

--
You received this message because you are subscribed to the Google Groups "KivEnt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivent+unsubscribe@googlegroups.com.
To post to this group, send email to kiv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivent/4ad6eca5-7173-494b-a384-e2e610c6e757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages