Hello,
new to scripting…
I’m trying to keep a ball confined to a specific area…
how do I do that?
I’ve been fooling around with the bounds class
but
can’t get it to work…
what am I doing wrong?
thanks in advance
Hello,
new to scripting…
I’m trying to keep a ball confined to a specific area…
how do I do that?
I’ve been fooling around with the bounds class
but
can’t get it to work…
what am I doing wrong?
thanks in advance
Just border the area you want blocked off with a box collider wall on all sides.