3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 2 [3]

Author Topic: A Table tennis simulator  (Read 2923 times)

« Reply #30 on: November 21, 2011, 12:48:51 PM »
thankyou so much :)

ok That was epic simple script :D i would made myslef but i'm low experience
« Last Edit: November 21, 2011, 12:51:05 PM by Daumisx »
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #31 on: November 21, 2011, 12:54:57 PM »
...i would made myslef but i'm low experience

Then practice...
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #32 on: November 21, 2011, 01:16:35 PM »
still thanks And i will pratice :D i need time :D anyways your project was really useful becouse now i can change x, y, z doesnt matter :D now i'm rhinking how to make that skinmesh stop when it reaches certain height so it doesnt follo the ball when it bounces :D it looks weird :D
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #33 on: November 21, 2011, 01:18:21 PM »
...now i'm rhinking how to make that skinmesh stop when it reaches certain height so it doesnt follo the ball when it bounces :D it looks weird :D

Simple.

if (Loc.x > 10) Loc.x = 10;
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #34 on: November 21, 2011, 01:23:28 PM »
:D wow that saved me 2 years :D
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #35 on: November 21, 2011, 01:34:30 PM »
sadly it didint worked :( i attached it to your script and it didint work :D maby i did something wrong :(
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #36 on: November 21, 2011, 02:04:28 PM »
Of course it didn't work. It's pseudo code. Replace the 'Loc' with whatever vector name you want to limit.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #37 on: November 22, 2011, 10:14:45 AM »
um what is vector? :D could you add it to your script? only after a few months i will be able to do that :( i dont want to wait that much :)
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #38 on: November 22, 2011, 10:24:04 AM »
You just said if was an 'epic simple script'. So I though you could do this.

New script:
Code: [Select]
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);
}
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #39 on: November 22, 2011, 10:25:42 AM »
0.0 ok now ist complicated to me :D you just made my cry :(

No actualy thankyou roobertoo that you spent 30sec to write a code to newbie ;) i will post a demo or vid how it looks ;)
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
« Reply #40 on: November 22, 2011, 10:28:06 AM »
this script is awesome :D but racket stil follows ball :( it looks weird becouse it simply bounces :( the racket bounce like ball and that is weird ::


Edit:

NWM! i changed alot of walues and were playing with them :D now its porfecto molvado :D
::=::Look at this ::=::
Rally game

The most important thing that happens, you usualy miss it , but after sometime you will remember
 
even if you didint noticed. Go forward and never look back
Pages: 1 2 [3]