Search found 66 matches

by vkreal
Tue Aug 20, 2013 11:32 pm
Forum: Box2D tutorial discussion
Topic: Tilting vehicles
Replies: 6
Views: 14772

Re: Tilting vehicles

iforce thanks for your suggestion. I am trying to balance a motorcycle on rear wheel simulating a wheely. The problem i am having is when using ApplyTorque not sure when to stop apply force to balance the motorcycle. any ideas? maybe ApplyTorque is wrong approach in this case.


Many thanks!
by vkreal
Sun Aug 18, 2013 4:11 am
Forum: Box2D tutorial discussion
Topic: b2RevoluteJoint vs b2WheelJoint
Replies: 1
Views: 7099

b2RevoluteJoint vs b2WheelJoint

Anyone have any opinions on b2RevoluteJoint vs b2WheelJoint for making vehicle wheels? I am a newb and trying to decide which to go with?

Thanks in advance!
by vkreal
Mon Jul 01, 2013 5:23 am
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Hi iforce2d Yes I saw the second part of tutorial on Ray's site, thanks for pointing that out. I am trying to learn making terrain with your tool and applying dynamic texture to it. What games doesn't need some kind of terrain?? :) Can you please explain what you mean by "It's probably best to ...
by vkreal
Sun Jun 30, 2013 6:28 am
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Man i didn't account for concave, this throw a monkey wrench. I guess i can try without concave and see if i can get it working correctly and than try out poly2tri. anything special i should pay attention to with TexCoord?

Thanks!
by vkreal
Sat Jun 29, 2013 9:53 pm
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Here's another question. say i wanted to create dynamic textures like in http://www.raywenderlich.com/33266/how-to-create-dynamic-textures-with-ccrendertexture-in-cocos2d-2-x and apply it to a terrain create by RUBE using Edge Shapes. Given RUBE scene been successfully loaded into cocos2d-x. ANy sug...
by vkreal
Sat Jun 29, 2013 6:44 pm
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Awesome! Thanks for the quick reply. I did purchased RUBE it's a pretty nice tool!
by vkreal
Sat Jun 29, 2013 3:45 pm
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Forgive my newb questions as I am trying to learn. I am trying to figure out how to draw an image (ground sprite) to terrain created by RUBE like below. I might be completely doing this wrong. if so can anyone point me in the right direction? // Create the ground texture self.ground = [CCSprite spri...
by vkreal
Sat Jun 29, 2013 5:00 am
Forum: R.U.B.E discussion
Topic: smooth terrain
Replies: 19
Views: 32379

Re: smooth terrain

Hi Iforce2d, What's the best way to pull out terrain vertices and coords from RUBE to pass to opengl 2 example: glColor4f(1, 1, 1, 1); glVertexPointer(2, GL_FLOAT, 0, terrainVertices); glTexCoordPointer(2, GL_FLOAT, 0, terrainTexCoords); glDrawArrays(GL_TRIANGLE_STRIP, 0, (GLsizei)nTerrainVertices);...
by vkreal
Sat Jun 15, 2013 4:01 pm
Forum: R.U.B.E discussion
Topic: Supporting multiple screens
Replies: 2
Views: 8838

Re: Supporting multiple screens

Awesome iforce2d! thanks for quick answer.
by vkreal
Sat Jun 15, 2013 1:43 am
Forum: Box2D tutorial discussion
Topic: Tilting vehicles
Replies: 6
Views: 14772

Tilting vehicles

I am very new to box2d, can anyone give an ideas/suggestions on how to tilt a vehicle(motorcycle) up/down when in the air?

Thanks!