________________________
--- bug desc
________________________
dropweb triggering region not matching its shape
________________________
--- bug test detail & Screenshot
________________________
a dropperweb like this cross form :
with grid
local ox, oy = 436, -252 for i = 0, 20 do for j = 0, 20 do local x, y = ox+i, oy+j local z = y local b= TheWorld.GroundCreep:OnCreep(x, 0, z) if (b) then local inst = SpawnAt('rocks', Vector3(x, 0, z)) inst.AnimState:SetBloomEffectHandle("shaders/anim.ksh") end end end
using this code marked all the trigger locations
of this dropweb with rocks
this make player totally confusing, when you enter the area without web, you also trigger CreepSpawner
you can also see this classic bug, sideway to cross Labyrinth without trigger any drop spider
---------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------
but this bug not happed in forest web
marked matching web shape perfect
consider this test case: The triggering area not matching the shape
________________________
--- shortcut
________________________
[1] using crossform region to math cross shape dropweb
or [2] do not make cross form dropweb , always show a rectangle dropweb to matching this result
________________________
--- fix expect
________________________
[1] base to fix 4 error corner
[2] better to fix sidewalk not testing
close to the dropweb but not triggering
set role facing 0
stand the rightbottom of dropweb
run this code to test and marked trigger region
local p = UserToPlayer(userid) if not (p) then return end local x, _, z = p.Transform:GetWorldPosition() local ox, oy = x, z for i = 0, 20 do for j = 0, 20 do local x, y = ox+i, oy+j local z = y local b= TheWorld.GroundCreep:OnCreep(x, 0, z) if (b) then local inst = SpawnAt('rocks', Vector3(x, 0, z)) inst.AnimState:SetBloomEffectHandle("shaders/anim.ksh") end end end
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 accountSign in
Already have an account? Sign in here.
Sign In Now