Jump to content

Boat leaks can be offset on the y axis


Hornete
  • Fixed

Boat leaks can sometimes spawn at an improper position on the y-axis

image.png.025cef8380053bcef724cea6f611e597.png

local function OnSpawnNewBoatLeak(inst, data)
	if data ~= nil and data.pt ~= nil then
		local leak = SpawnPrefab("boat_leak")
		leak.Transform:SetPosition(data.pt:Get())

The OnSpawnNewBoatLeak callback in prefabs/boats.lua should probably make sure to stamp the y position of the passed in vector to 0. Many entities will push the event with their own position, likely projectiles causing the issue


Steps to Reproduce

1. Get whacked by leak-causing projectiles

2. badly placed leak




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...