Torque 3D Beta 1 Bug: bool Player::pointInWater
by Caylo Gypsyblood · in Torque 3D Professional · 05/17/2009 (5:24 pm) · 0 replies
bool Player::pointInWater function is not complete.
Just making note after spending all day debugging something that relies on Player::pointInWater.
EDIT:
My hack in function is to use water surface level in place of mWaterCoverage; not the water block scale height(Perhaps there is already a way to do this?). As it is now Water Splash FX are located at water block height, even if a 'wave' is lower or higher, and mWaterCoverage is simply not telling the truth.
Just making note after spending all day debugging something that relies on Player::pointInWater.
EDIT:
My hack in function is to use water surface level in place of mWaterCoverage; not the water block scale height(Perhaps there is already a way to do this?). As it is now Water Splash FX are located at water block height, even if a 'wave' is lower or higher, and mWaterCoverage is simply not telling the truth.