Search found 66 matches

by vkreal
Sat Nov 23, 2013 8:04 am
Forum: Box2D tutorial discussion
Topic: which joint for vehicle/motorcycle
Replies: 3
Views: 12468

which joint for vehicle/motorcycle

Hi Iforce2d, In some of your rube samples I see you use 'revolute' for example motorcycle wheels, is this the best way to go or should it be 'wheel' joints. I am getting weird issues using motorcycle sample and i think it might be using the wrong joint. Would have to set high numbers for it to go up...
by vkreal
Wed Nov 20, 2013 5:28 pm
Forum: Box2D tutorial discussion
Topic: raycast
Replies: 3
Views: 10612

Re: raycast

Awesome! Thanks for quick reply and solutions. I will try out b2Fixture::RayCast, but i did try b2World::RayCast return 1 in ReportFixture to find correct fixture but didn't seem to work, maybe i didn't do it right.
by vkreal
Wed Nov 20, 2013 4:21 pm
Forum: Box2D tutorial discussion
Topic: raycast
Replies: 3
Views: 10612

raycast

I am having trouble detecting distance using raycast when its behind another body. Is it possible to raycast to figure out distance where the body is behind another?


Thanks!
by vkreal
Sun Nov 17, 2013 3:11 am
Forum: Box2D tutorial discussion
Topic: b2body
Replies: 1
Views: 6936

b2body

Whats the best way to recreate/clone a sensor b2Body into a dynamic b2Body? one idea just destroy old body and recreate dynamic with same properties.

Thanks!
by vkreal
Wed Nov 13, 2013 7:16 am
Forum: R.U.B.E discussion
Topic: Finding images attached to a specific body
Replies: 1
Views: 5283

Finding images attached to a specific body

In b2dJson any way to do get image attached to b2Body? something like json.getImageByB2Body(b2Body* body)
by vkreal
Sat Nov 09, 2013 5:06 pm
Forum: Box2D tutorial discussion
Topic: unicycle
Replies: 4
Views: 11930

Re: unicycle

How would you do non-fixed-rotation body? or what joint would you recommend?
by vkreal
Fri Nov 08, 2013 9:18 pm
Forum: Box2D tutorial discussion
Topic: unicycle
Replies: 4
Views: 11930

Re: unicycle

Thanks for the fixed rotation sample! It got me started. I am looking for something non-fixed rotation body so the balance can be control like you suggested.


Thanks again!
by vkreal
Fri Nov 08, 2013 7:59 am
Forum: Box2D tutorial discussion
Topic: unicycle
Replies: 4
Views: 11930

unicycle

Anyone can give some ideas/clues on how to create unicycle with box2d or even better using RUBE?

Thanks!
by vkreal
Mon Oct 14, 2013 4:58 pm
Forum: R.U.B.E discussion
Topic: RUBE sliding menu?
Replies: 1
Views: 5736

RUBE sliding menu?

Hi iforce2d,

Did you use RUBE to make menu system for "Rookie, PRO" in Downhill? I am interested in how you did the sliding part.


Thanks!
by vkreal
Mon Sep 23, 2013 5:47 pm
Forum: Box2D tutorial discussion
Topic: Tilting vehicles
Replies: 6
Views: 14716

Re: Tilting vehicles

Hi Iforce2d, I am trying to achieve same precise(smooth) using accelerometer In your game Downhill Supreme especially controlling player titling. can you give any pointers how to achieve this? i tried using http://www.iforce2d.net/b2dtut/rotate-to-angle but doesnt seem to work that great for me, may...