Page MenuHomeWildfire Games

Fix incorrect prop height for floating objects.
Needs ReviewPublic

Authored by Stan on Tue, Oct 13, 12:31 AM.

Details

Reviewers
vladislavbelov
Summary

Currently the game adds some weird height to props that adjust to terrain, when the parent mesh is floating. (eg. docks) This patch addresses that by using the waterheight in this case instead.

Test Plan

Try to place docks as far as possible from the shore. Notice it breaks without the patch. Agree this is an improvement.

Event Timeline

Stan created this revision.Tue, Oct 13, 12:31 AM

Successful build - Chance fights ever on the side of the prudent.

builderr-release-macos.txt
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libsimulation2.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libgraphics.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libatlas.a(precompiled.o) has no symbols

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/1645/display/redirect

Stan requested review of this revision.Tue, Oct 13, 12:49 AM