Simple Physics Engine SPE Simplified Chinese

Home Download License Document FeedBack


Nikolet 2008-03-19 08:54:37 50
Nice site!

phyar 2008-03-04 09:28:12 49
I'm having a problem with my application. Here is the sample code of my application.

LPSPESHAPE pShape = speWorld->CreateShape();
InitShape(pShape, g_pBox);
speBody = speWorld->AddRigidBody(pShape);

When i compile the application, this is what i got.

error C3861: 'InitShape': identifier not found

i have already include the SPE.h and SPE.lib, i have already define the directory in my compiler. can someone help me in this?
---------------------------------------------------
InitShape() is not build-in function of SPE, you must copy the code from sample : \"Get Start\".
Next time, please post your question about development in forum.

zul 2008-03-04 02:31:39 48
I'm having a problem with my application. Here is the sample code of my application.

LPSPESHAPE pShape = speWorld->CreateShape();
InitShape(pShape, g_pBox);
speBody = speWorld->AddRigidBody(pShape);

When i compile the application, this is what i got.

error C3861: 'InitShape': identifier not found

i have already include the SPE.h and SPE.lib, i have already define the directory in my compiler. can someone help me in this?

phyar 2008-02-20 09:19:32 47
I have one very simple question...
Will there be linux (GNU) support? My game engine is built for cross-compatibility so if it doesn't support Linux I can't use your product...
---------------------------------------------------
Yes, I have completed the porting, you can download the demo for Linux very soon.

Seniltai 2008-02-20 00:17:48 46
I have one very simple question...
Will there be linux (GNU) support? My game engine is built for cross-compatibility so if it doesn't support Linux I can't use your product...

phyar 2007-12-30 15:08:23 45
A simple #define SPE_VERSION 260 would do the trick.
-----------------------------------------------
OK, I'll add this macro in next release.

Would it be possible for you to expose the link as a generic 6DOF link that follows the COLLADA convention?
------------------------------------------------
I'll try to implement this link using custom joint API in next release.

Finally, is it possible to have compound bodies? (A body with more than one shape?)
-------------------------------------------------
No plan to support this feature, you are forced to join all meshes together and create a single shape.

I have tried a cone mesh of radius 1, length 1, and it does not collide with anything.. are there any othere things I might be doing wrong?
---------------------------------------------
You can send the mesh to my email(see the bottom of page) and I'll check for you.
Thanks.

aboeing 2007-12-30 14:29:51 44
Any triangluar mesh can me dynamic object. but if the mesh is too small or too thin(less than 0.05), the collision detection system may be not that well.
--------------------------------------------------------
I have tried a cone mesh of radius 1, length 1, and it does not collide with anything.. are there any othere things I might be doing wrong?

I have tried both
virtual SPERESULT Initialize(BYTE *pVertex, int StrideSize, int *pIndex, int NumTriangles) = 0; // create a shape from Tri-Mesh, index is 32BIT
and
virtual SPERESULT Initialize(BYTE *pVertex, int StrideSize, int NumVertices) = 0; // create a convex hull by giving vertices

aboeing 2007-12-30 14:22:55 43
Currently no way to get the version of SDK, but tell me why do you need this function?
----------------------------------------------------
Two reasons:
1. In case you change the API so I can maintain backwards compatibility.
2. Easier to identify which version I'm using if I have multiple copies of the SDK on my PC.

A simple #define SPE_VERSION 260 would do the trick.

Thanks for your other replies, Im happy to hear the SDK will include those features in the next update. Would it be possible for you to expose the link as a generic 6DOF link that follows the COLLADA convention? (Body *parent, lBody *child, Matrix4x4 parentFrame, lMatrix4x4 childFrame, Vector3 linearLowerLimits, Vector3 linearUpperLimits, Vector3 angularLowerLimits,Vector3 angularUpperLimits)

Finally, is it possible to have compound bodies? (A body with more than one shape?)

Thanks.

phyar 2007-12-30 10:15:55 42
1. Is there a way to get the SDK version?
----------------------------------------------------
Currently no way to get the version of SDK, but tell me why do you need this function?
----------------------------------------------------
2. Is there a way to make a body go to sleep/ wake up?
-----------------------------------------------------
ForceToSleep()/WakeUp() would be added in next release.
----------------------------------------------------
3. Do dynamic objects have to be convex? Is there a restriction on the format of the mesh?
-----------------------------------------------------
Any triangluar mesh can me dynamic object. but if the mesh is too small or too thin(less than 0.05), the collision detection system may be not that well.
--------------------------------------------------------
4. How do I simulate joints other than ball joints? (eg: revolute / prismatic joints?)
-------------------------------------------------------
Ball joint is the only build-in joint type, you must built other joint yourself. In next release, I'll provide low access to the solver to make custom joints.
-------------------------------------------------
5. Is it possible to directly set fluid material properties such as viscosity, or can you only choose SPE_WATER and SPE_SMOKE?
---------------------------------------------------
While the fluid system is more stable, I'll provide interfaces to config other material properties.
Thanks.

aboeing 2007-12-30 03:56:09 41
SPE is easy to use - well done on a great SDK! Some questions:

1. Is there a way to get the SDK version?

2. Is there a way to make a body go to sleep/ wake up?

3. Do dynamic objects have to be convex? Is there a restriction on the format of the mesh?

4. How do I simulate joints other than ball joints? (eg: revolute / prismatic joints?)

5. Is it possible to directly set fluid material properties such as viscosity, or can you only choose SPE_WATER and SPE_SMOKE?

Thanks.


1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) 15) 16 17) 18) 19) 20)
Name:
Content:



© 2006-2008, spehome.com, All rights reserved.
E-Mail: