Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 19 Sep 2012
Offline Last Active Today, 06:47 AM

Posts I've Made

In Topic: Help with Farseer Physics Engine Slowdown

04 July 2016 - 05:15 AM

The handler could still be useful for fine-grained behaviour or unusual circumstances, but yes, culling pairs early makes a huge difference :)

In Topic: Help with Farseer Physics Engine Slowdown

27 June 2016 - 02:57 AM

Not familiar with Farseer directly, but most physics engines allow you to specify collision flags/ masks on the objects to determine what they would collide with. It sounds in this case as if you don't want enemy bullets to hit other enemies (or the enemy that creates them). You should be able to setup a collision mask for this so that these collisions are discarded very quickly and don't go through the whole detection routine and cause your slowdown.

In Topic: Gladiator manager game - ideas needed!

23 May 2016 - 07:10 AM

It's a little bit more 'fantasy' then historic gladiatorial combat, but you could dig up an old version of Lucas Arts Gladius for some inspiration, it has a turn based gladiator mode as it's core, but that could be automated, but also has school and gladiator mangement and rpg themes as well.

In Topic: Creating Box RigidBody From AABB

13 April 2016 - 07:00 AM

Sure. Was trying to remember if bullet allowed you to change the centre of mass  easily and it doesn't though there are ways to work around it using compound shapes but wouldn't recommend it. One solution Erwin mentions below in :




is to let your motion state do the graphics offset for you. I'd still probably recommend trying to keep the pivot centred though.

In Topic: Creating Box RigidBody From AABB

13 April 2016 - 05:13 AM

In that case you still need your door mesh to be a centered box, but then have a hinge constaint on it to anchor it to another mesh / rigid body and let the contraint do the work for you. The bullet constraint demo has good examples of this.