thankyou so much
ok That was epic simple script i would made myslef but i'm low experience
ok That was epic simple script i would made myslef but i'm low experience
The 3DRad community can be found at classdev.net.
...now i'm rhinking how to make that skinmesh stop when it reaches certain height so it doesnt follo the ball when it bounces it looks weird
Vector3 BallLoc, RacketLoc;
void Main()
{
iObjectLocation(OBJ_0,BallLoc);
RacketLoc = BallLoc;
RacketLoc.z = 3; ///Set your Z-location here.
if (RacketLoc.x > 10) RacketLoc.x = 10;///These four values indicate the limits. Be sure that
if (RacketLoc.x < -10) RacketLoc.x = -10;///the first and second value are the same!
if (RacketLoc.y > 10) RacketLoc.y = 10;
if (RacketLoc.y < -10) RacketLoc.y = -10;
iObjectLocationSet(OBJ_22,RacketLoc);
}