26-02-2021, 04:15 PM
(This post was last modified: 26-02-2021, 04:15 PM by josemendez.)
GetComponent() is a Unity function, works with any GameObject in unity, including ropes. However the "collidedActor" variable is a struct of type ParticleInActor, so you can't use GetComponent on it. You should do:
cheers!
Quote:collidedActor.actor.GetComponent<RopeController>();
cheers!