tutorial14 problem!
2 posters
tutorial14 problem!
In the tutorial14,there is a cylinder,How to set up that cylinder, Binding md2 files. thank you !
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: tutorial14 problem!
sio2interactive wrote:Use the parent transformation of the SIO2transform handle of the object...
I am sorry, I mean wrong.Could you tell me how to set up in the blender?
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: tutorial14 problem!
sio2interactive wrote:Not in blender... you have to do it in code...
Thank you so fast reply !
What I mean is: How do I set up cylinder in the blender?
Is:How do I set up the parameters of the cylinder int blender?
Code is as follows:
- Code:
vec3 gravity;
gravity.x = 0.0f;
gravity.y = 0.0f;
gravity.z = -10.0f;
sio2->_SIO2physic = sio2PhysicInit( "earth" );
sio2PhysicSetGravity( sio2->_SIO2physic,
&gravity );
sio2PhysicPlay( sio2->_SIO2physic );
sio2ResourceBindAllPhysicObjects( sio2->_SIO2resource,
sio2->_SIO2physic );
.
.
.
.
.
_SIO2md2->_SIO2transform->_SIO2parent = sio2ResourceGetObject( sio2->_SIO2resource, "object/yoshi" )->_SIO2transform;
void Render()
{
.
.
.
sio2PhysicRender( sio2->_SIO2physic, 1.0f / 60.0f, 1 );
....
}
True Is: cylinder disappear,you can see md2.
I can see the cylinder,can't see md2 model. why?
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: tutorial14 problem!
Dude you cross post everywhere on this forum... but its always the same answer:
tutorial14, tutorial14, tutorial14, tutorial14, tutorial14
tutorial14, tutorial14, tutorial14, tutorial14, tutorial14
Similar topics
» Tutorial14 / adding md2 to tutorial09
» Tutorial 2 problem
» Error when loading .SIO2 (texture.)
» Passing Through Static Object (Beating my iPod seems to help)
» 3ds import problem
» Tutorial 2 problem
» Error when loading .SIO2 (texture.)
» Passing Through Static Object (Beating my iPod seems to help)
» 3ds import problem
Permissions in this forum:
You cannot reply to topics in this forum