| malik4300 |
Posted: Mar 18 2008, 01:12 PM |
 |
|

New Member

Group: Members
Posts: 6 (1 robots)
Member No.: 1313
Joined: 13-March 08

|
I'm a beginner to Robot battle and started working on a robot. So I need some help on my robot. Any help would be appreciated. |
| tomash |
| Posted: Mar 20 2008, 05:58 AM |
 |
|

Grand Master
    
Group: Moderators
Posts: 810 (8 robots)
Member No.: 441
Joined: 11-July 05

|
What do you need help with. We have lots of advice to give, if you tell us what you need!
I believe a "welcome to RB" is in order, too. |
| Ichabod |
| Posted: Mar 20 2008, 11:43 AM |
 |
|

Grand Vizier
    
Group: Contest Hosts
Posts: 1238 (16 robots)
Member No.: 700
Joined: 2-May 06

|
Welcome to RB, Malik!
-------------------- -Ichabod Nils illegitimo carborundum
| QUOTE (Cho Setsu) | | By eliminating disturbances, we redouble the disease. |
131,628,711 robots killed in the name of simulation |
| malik4300 |
Posted: Mar 24 2008, 04:59 PM |
 |
|

New Member

Group: Members
Posts: 6 (1 robots)
Member No.: 1313
Joined: 13-March 08

|
I need help with the movements of the robot and how to stop the robot from colliding into other robots. because most of the time when my robot collides with another robot it just sticks with that robot and doesn't move. |
| malik4300 |
| Posted: Mar 24 2008, 05:00 PM |
 |
|

New Member

Group: Members
Posts: 6 (1 robots)
Member No.: 1313
Joined: 13-March 08

|
oh yeah, i forgot, thanks for the welcomes. |
| protozoa |
| Posted: Apr 16 2008, 02:43 PM |
 |
|
Player
 
Group: Members
Posts: 13 (0 robots)
Member No.: 1320
Joined: 1-April 08

|
Malik4300,
First, I myself am rather new to RB but am somewhat familiar with the way a few things work. So I'll take a stab at your question.
Take a look at the following steps and ask a question about what you didn't follow or where you need more help.
1) Detect a collision using either _cldrobot or regcldrobot(). 2) Process where the collision took place using _cldheading and _cldbearing 3) Start new movement to get away from the point of collision. A simple thing to do is to reverse heading by 180 degrees.
Good luck.
- Protozoa |