- Home /
Question by
SpiderManAW · Oct 10, 2020 at 12:46 PM ·
effectjoint
Character joint On Break function
I have a character joint with a break force of 1500, when the joint breaks, I'd like it to instantiate the effect where the character joint broke.
I already know how to instantiate the effect and the position, but I do not know how to make the script detect when a character joint has broke.
public GameObject effect;
void Update()
{
if (JointBreak == true then)
{
Instantiate(effect, transform.position, transform.rotation);
}
{
Comment