How can I create a subtype of body? I want to extend body so that I can have my own methods. When I try to extend it it requires me to have this constructor:
protected BumperSubBody(World world, long addr) {
super(world, addr);
}
What is addr?
Where could I place my code for like bodyDef and fixtureDef?
protected BumperSubBody(World world, long addr) {
super(world, addr);
}
What is addr?
Where could I place my code for like bodyDef and fixtureDef?