Search found 861 matches
- Mon Jan 21, 2013 4:31 am
- Forum: Box2D tutorial discussion
- Topic: Error: 'rnd_1' was not declared in the scope
- Replies: 1
- Views: 7595
Re: Error: 'rnd_1' was not declared in the scope
oh. I seem to have defined that in the hovercar suspension test and then forgot that it was not part of the testbed. Those test headers all get included one after another so it's easy to forget about that. It's just: //random number between 0 and 1 float rnd_1() { return rand() / (float)RAND_MAX; }
- Sun Jan 20, 2013 3:14 pm
- Forum: Box2D tutorial discussion
- Topic: Move joint for specfied time
- Replies: 4
- Views: 12072
Re: Move joint for specfied time
Yep sure. You would just have to do the same thing for all of them.
You might be interested in the robot arm example here: http://www.iforce2d.net/blog/2011-07-25
That uses the second method I mentioned to move multiple revolute joints between target positions.
You might be interested in the robot arm example here: http://www.iforce2d.net/blog/2011-07-25
That uses the second method I mentioned to move multiple revolute joints between target positions.
- Sun Jan 20, 2013 2:33 pm
- Forum: Box2D tutorial discussion
- Topic: Move joint for specfied time
- Replies: 4
- Views: 12072
Re: Move joint for specfied time
So is the end goal to move a specified number of steps, or stop at a specified position? For a specified number of steps you could just count the steps, eg. an int counter starting at zero and increment every time step until it was the right number. To move to a specified joint angle, you can do Get...
- Fri Jan 18, 2013 9:06 pm
- Forum: Bug reports
- Topic: Bug in Linux
- Replies: 15
- Views: 33617
Re: Bug in Linux
Hmm... that's pretty strange because that scene does not have any self-intersecting fixtures. For example fixture117 is a simple triangle. Are there any files named like "rube-exception-trace..." created? Also, could you turn on the "Show debug messages" in the options before loa...
- Fri Jan 18, 2013 10:42 am
- Forum: Bug reports
- Topic: Bug in Linux
- Replies: 15
- Views: 33617
Re: Bug in Linux
Yes, I suspect that too. Was this one of your own files? If so, maybe you could attach it here?
- Thu Jan 17, 2013 7:34 pm
- Forum: Box2D tutorial discussion
- Topic: Buoyancy
- Replies: 2
- Views: 8609
Re: Buoyancy
Somebody else was asking about that too, so I uploaded it to the tutorial page about an hour ago
- Thu Jan 17, 2013 12:27 pm
- Forum: Bug reports
- Topic: Bug in Linux
- Replies: 15
- Views: 33617
Re: Bug in Linux
I see. I tried Linux Mint 14.1 (32 bit) just now but I didn't have any problems. I tried all the sample files included with the trial version but none of them have self-intersecting fixtures as in the log you've shown - was this one of your own files? If so, maybe you could attach it here? Also, cou...
- Wed Jan 16, 2013 5:40 pm
- Forum: Bug reports
- Topic: Bug in Linux
- Replies: 15
- Views: 33617
Re: Bug in Linux
Hm... perhaps it is having trouble loading the images. How did you start the program? There is a file called rube and a file called rube.bin You should run the one called rube, because this alters the LD_LIBRARY_PATH so that the program can find the necessary libs. What type of Linux are you using? ...
- Wed Jan 16, 2013 2:41 am
- Forum: Bug reports
- Topic: Bug in Linux
- Replies: 15
- Views: 33617
Re: Bug in Linux
How are you opening the file, by dragging it into the app window, or by selecting it from the open file dialog? If you are opening it from the 'recent files' list under the File menu, perhaps the file has been moved? In Linux there is also the possibility that the user running RUBE may not have perm...
- Wed Jan 16, 2013 2:38 am
- Forum: Feature requests
- Topic: NAPE
- Replies: 2
- Views: 9510
Re: NAPE
My first thought is "never say never", but if this happened it would be a long long long long way off in the future. I am tentatively considering adding a Chipmunk player view someday, but that's mainly because it's relatively easy to fit into the existing program, being C and using extrem...