Search found 22 matches

by Daboog
Tue Mar 26, 2013 9:33 am
Forum: Box2D tutorial discussion
Topic: Flying arrows
Replies: 1
Views: 6974

Flying arrows

Hello! I wright from this example https://www.iforce2d.net/b2dtut/sticky-projectiles Vector2 flightDirection = arrowBody.getLinearVelocity(); float flightSpeed = flightDirection.nor().len(); //normalizes and returns length Vector2 pointingDirection = arrowBody.getWorldVector( new Vector2( 1, 0 ) ); ...
by Daboog
Wed Mar 13, 2013 10:15 am
Forum: Box2D tutorial discussion
Topic: Problem with rotate and get angle
Replies: 2
Views: 8806

Re: Problem with rotate and get angle

Thanks, Iforce. This is my inattentiveness :)
by Daboog
Tue Mar 12, 2013 4:35 pm
Forum: Box2D tutorial discussion
Topic: Problem with rotate and get angle
Replies: 2
Views: 8806

Problem with rotate and get angle

Hi! I have some problem with manipulation. I want to rotate the body by joystick, I look the tutorial http://www.iforce2d.net/b2dtut/rotate-to-angle and use method float nextAngle = bodyAngle + body->GetAngularVelocity() / 60.0; float totalRotation = desiredAngle - nextAngle;//use angle in next time...
by Daboog
Tue Mar 05, 2013 9:58 am
Forum: R.U.B.E discussion
Topic: Textures in fixture and ignore collisions
Replies: 4
Views: 10621

Re: Textures in fixture and ignore collisions

Oh, thanks! I did it =) What about textures? Can I multiply texture within the confines of the fixture?
by Daboog
Mon Mar 04, 2013 10:27 am
Forum: R.U.B.E discussion
Topic: Textures in fixture and ignore collisions
Replies: 4
Views: 10621

Textures in fixture and ignore collisions

Hi!
I have some problem with back side of my actor... I added joint on two legs but other part of legs is collide.
Image
How can made ignore collisions of other parts?

And next question, is it possible paint the figure texture?
by Daboog
Fri Feb 22, 2013 2:42 pm
Forum: Box2D tutorial discussion
Topic: Tutorial for Android
Replies: 4
Views: 12258

Re: Tutorial for Android

Thanks for link! I download https://github.com/LouisBHirst/AndEngineJb2dJson, but it is dont work, project is stoped in android emuliator... Do you tried to run project?
by Daboog
Mon Feb 18, 2013 4:47 pm
Forum: Box2D tutorial discussion
Topic: Tutorial for Android
Replies: 4
Views: 12258

Tutorial for Android

Could you write a simple tutorial for ANDROID aplication. I want to use java json Box2d loader with libGDX, but he is dont work... I would like to see simple scene on my ANDROID devices =)
by Daboog
Sun Feb 10, 2013 9:43 pm
Forum: Box2D tutorial discussion
Topic: Compilation JAVA json loader
Replies: 5
Views: 15007

Re: Compilation JAVA json loader

Oh, thanks! I realized what the problem was)
by Daboog
Sun Feb 10, 2013 11:22 am
Forum: Box2D tutorial discussion
Topic: Compilation JAVA json loader
Replies: 5
Views: 15007

Compilation JAVA json loader

Hello iforce! What IDE are you used for JSON loader on JAVA. When I compile source code in NetBeanse, I get error: Failed to execute goal on project jbox2d-testbed: Could not resolve dependencies for project org.jbox2d:jbox2d-testbed:jar:2.3.0-SNAPSHOT: The following artifacts could not be resolved:...
by Daboog
Mon Feb 04, 2013 1:16 pm
Forum: Box2D tutorial discussion
Topic: Problem with ApplyForce
Replies: 8
Views: 19209

Re: Problem with ApplyForce

Problem solved by method ClearForces() before each step. Thanks for debate Iforce :)