#Toggle IsTrigger on an entity with a collider

1 messages · Page 1 of 1 (latest)

visual temple
limpid kelp
#

pretty sure that same trigger option will work in unity physics

visual temple
#

Isn't collider.isTrigger gameobject only? Initially, I thought component PhysicsCollider would have it. Am I looking in the wrong place?

limpid kelp
#

it will bake to unity physics

visual temple
#

I am trying to toggle isTrigger on the entity with the collider after it is baked.

jolly rain
#

you can't modify it for specific entity

visual temple
#

oh that's unfortunate...

jolly rain
#

you could probably achieve what you want by prebaking several clones of your collider with target properties tweaked

#

put them in some component

#

and then just when you need to swap - modify value of PhysicsCollider