Search found 8 matches
- Thu Mar 12, 2015 4:26 pm
- Forum: R.U.B.E discussion
- Topic: List of loaders for RUBE scenes
- Replies: 37
- Views: 669203
Re: List of loaders for RUBE scenes
I figured out and solved these issues. However I'm kind of sure the next one is not my fault. I get an exception error when I go to the PlanetCute scene. Seems like it's trying to delete m_contactListener but m_contactListener is not initialized. When I remove the clear() call in the BasicRUBELayer:...
- Wed Mar 11, 2015 3:14 pm
- Forum: R.U.B.E discussion
- Topic: List of loaders for RUBE scenes
- Replies: 37
- Views: 669203
Re: List of loaders for RUBE scenes
I can build but I'm still having some issues. I'm learning cocos2d-x and I'm not sure of how the file management works. All the code that load files point to the root of the src directory instead of relative to the res directory. For example "fonts/UbuntuMono-R.ttf" instead of "../res...
- Wed Mar 11, 2015 3:54 am
- Forum: R.U.B.E discussion
- Topic: List of loaders for RUBE scenes
- Replies: 37
- Views: 669203
Re: List of loaders for RUBE scenes
I can't build the rube-cocos2d-x-V3.4-sample. It's trying to include "BaseTest.h" but this file did not come with the sample code. Edit Oh, I see I'm supposed to one in the the cpp-tests. I thought it could go in the empty example. But I really need to do this just to test? It so much stuf...
- Sat Feb 28, 2015 11:07 pm
- Forum: R.U.B.E discussion
- Topic: Align fixture with the body
- Replies: 4
- Views: 21090
Re: Align fixture with the body
This is not a information that Box2D use but is useful for edition and scripting just like getSelected...()
Would be great to get it by script because the centroid/median point of a polygon or a selection is something I use a lot when editing.
Would be great to get it by script because the centroid/median point of a polygon or a selection is something I use a lot when editing.
- Fri Feb 27, 2015 9:24 pm
- Forum: R.U.B.E discussion
- Topic: Align fixture with the body
- Replies: 4
- Views: 21090
Re: Align fixture with the body
Perfect!
But what is the blue cross?
How can I get the center of mass by script?
But what is the blue cross?
How can I get the center of mass by script?
- Fri Feb 27, 2015 6:54 pm
- Forum: R.U.B.E discussion
- Topic: Align fixture with the body
- Replies: 4
- Views: 21090
Align fixture with the body
How can I get the center of the fixture and align to the body center?
- Sun Feb 22, 2015 4:50 pm
- Forum: Box2D tutorial discussion
- Topic: Stabilizing floating body
- Replies: 3
- Views: 69703
Re: Stabilizing floating body
But do the shape of the fixture make it rotate? When it's asymmetric or the force is diagonal. Helicopter is pretty asymmetric and can have extra load. How they do all that with a single helix and a small one for yaw. I'm studying the PID controller and it to works really great! On the other hand th...
- Sat Feb 21, 2015 2:00 am
- Forum: Box2D tutorial discussion
- Topic: Stabilizing floating body
- Replies: 3
- Views: 69703
Stabilizing floating body
I can not figure out how to stabilize a floating body like a helicopter or a hover skate with thrusts in the front and rear ends. I has trying to make the thrust equal to the distance to the target but it only work for bodies with fixed rotation and bounce too much when reach the target. For acceler...