Search found 19 matches

by kokkivos
Wed Nov 20, 2013 10:14 pm
Forum: Questions and Help
Topic: Large Trigger Areas
Replies: 2
Views: 10491

Large Trigger Areas

I was attempting to use the bepu Box as a trigger for my enemies by setting its personal rule to NoSolver, constantly centering one on each enemy, and looping through its contacts to find if the player was touching the trigger.I noticed that my game's performance went down exponentially as I made th...
by kokkivos
Sat Apr 13, 2013 10:42 pm
Forum: Questions and Help
Topic: Locking Trigger Area to Camera
Replies: 4
Views: 3684

Re: Locking Trigger Area to Camera

Ah! It works! Thank you again, Norbo; I appreciate the help.
by kokkivos
Sat Apr 13, 2013 9:54 pm
Forum: Questions and Help
Topic: Locking Trigger Area to Camera
Replies: 4
Views: 3684

Re: Locking Trigger Area to Camera

Oh, I see... oops. I think my understanding of the definition of a contact was off... I assumed a "contact" would be something intersecting the box. Is this completely wrong? And if so, what is the best way to get all boxes intersecting my weapon's box each frame? Right now my box's person...
by kokkivos
Sat Apr 13, 2013 8:20 pm
Forum: Questions and Help
Topic: Locking Trigger Area to Camera
Replies: 4
Views: 3684

Locking Trigger Area to Camera

Hi there, I'm trying to implement the collision for a flamethrower-type weapon. Basically, I thought that I could take a Box, lock the position and orientation to the camera, and then look for any enemies in its contact list each frame and damage them. I don't know how to make the box stay in the sa...