Checking Velocity of objects with Trigger_Catapult

Avatar
saberboy117
15 Posts
Posted May 27, 2011
I have been trying to make glass break on a fast enough impact using the trigger_catapults use threshold check. It wont trigger the glass breaking (onCatapult). I have both the OnlyCheck Velocity and ThresholdCheck on, and have a lower velocity of .5 and upper of 1, and am wondering why it wont trigger the break. any tips on velocity checking would be appriciated.

thanks

Advertisement
Registered users don’t see ads! Register now!
Avatar
NinjaChris098
4 Posts
Posted May 27, 2011
Replied 12 minutes later
I found out yesterday that if you run 'Portal 2 (Tools Mode)' from within the Authoring Tools, you can find out if trigger_catapults are activating with Threshold Check on.

It will appear kinda like a console in the top left as you run the map. Did this help?

Avatar
gallardo
85 Posts
Posted Jul 17, 2011
Replied 1 month later
Same here, lower threshold 0 and upper is 1 and still doesn't work

EDIT: now kind of work but only if a press forward when entering the trigger. bah

Advertisement
Registered users don’t see ads! Register now!
Avatar
gallardo
85 Posts
Posted Jul 17, 2011
Replied 2 hours later
threshold didn't work as expected, in fact if you set player speed = 500, lower t=.1 and upper t=.5, to trigger you need to travel faster than 50u/sec and slower than 250u/s
Fine, but it doesn't work.

with my playerspeed=1000 and lower t=.9 upper t=1, you should travel fast to trigger but ingame you can only make a jump and it fires.

mmmm