CharacterControllers and Trigger regions

Pyritie

26-03-2011 23:02:23

Has anyone here ever had any problems with controllers and trigger areas? Because for whatever reason when a character controller enters my trigger area, it crashes

I think it might have something to do with how whenever I try to reference the controller's actor's shape(s), it also crashes with an AccessViolationException. Which is ...weird.

PhysX's tutorials on controllers and trigger areas don't help, and I can't find anything related to this problem on google, so...


Oh and it just crashes on the generic "scene.FetchResults(SimulationStatuses.AllFinished, true);" line. Which isn't very helpful.

I haven't had any problems before, when my game was just using regular dynamic actors.

Anyone have any ideas?