You can read and reply to posts and download all mods without registering.
We're an independent and non-profit fan-site. Find out more about us here.
You can get an object's position and velocity as vectors. Then there are built in functions for normalizing vectors, getting the dot product, etc.
So maybe it would be nice if NPCs would take a second or two to see the player (starting from where there's a line of sight between the NPC's whatever-passes-for-eyes and the player) if there is glass between them, but (of course) this delay wouldn't happen if the glass in the window had been broken.
blastVel = -(culPos - newPoint).GetNormalized() * power;
[...]how many audio channels do you have set?