jump.tf Forums
Welcome B)

func_physbox weird thing

tyjle

  • Advanced
  • *****
    • Posts: 519
    • Frags: +0/-0
    • View Profile
My func_physbox's shadow goes through my roof.

like, from above to down below:

func_phsbox --> -

roof -->             -

floor -->            -    <---- shadow from physbox on the floor

why




pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
check where is origin is? or does it move? otherwise you can disable shadows on physboxes or i think you can point to a lighting override entity.


tyjle

  • Advanced
  • *****
    • Posts: 519
    • Frags: +0/-0
    • View Profile
check where is origin is? or does it move? otherwise you can disable shadows on physboxes or i think you can point to a lighting override entity.
The origin is just in the center of the entity as usual

for now I just disabled the shadows


pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
You can probably fake it with the blocklight tooltexture with the actual physbox casting no shadows.


tyjle

  • Advanced
  • *****
    • Posts: 519
    • Frags: +0/-0
    • View Profile
You can probably fake it with the blocklight tooltexture with the actual physbox casting no shadows.
How does that work? Never done anything with that texture.

Plus the physbox is moving so idk if it would work or not.