- Home /
Question by
Kaz_Yamof · Jan 13, 2015 at 04:29 PM ·
collisionparticlesystemaccess
How to access Planes of Particle System by script
Hello,
I'm trying to access (by script) the Planes property on the Collision section of a Particle System component, but I can't figure out how.
Someone knows how access this property?
Thanks.
Comment
Answer by f1rd1n · Nov 09, 2018 at 11:13 PM
gameObject.GetComponent<ParticleSystem>().collision.SetPlane(PlaneIndex, PlaneName)
or similarly, use GetPlane instead of SetPlane
Your answer

Follow this Question
Related Questions
How to access variables from another script on collision ? 1 Answer
Collision object and access to a script variable? 1 Answer
Checking Object Collision Without Script 1 Answer
My script accessing a variable from another script recieves an error 1 Answer
how can I change shape of particle collision module? 0 Answers