Quantcast
Channel: Answers for "Continuously moving rigidbody"
Viewing all articles
Browse latest Browse all 4

Answer by DvKrane

$
0
0
I forgot to update this question as I have fixed my problem myself by adding a call to remove the missing gameobject in my catch statement like this: try { AffectedObjects[I].rigidbody.AddForce(ForceVector); } catch { AffectedObjects.Remove(AffectedObjects[I]); return; }

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images