Jump to content

physics for forklift


Recommended Posts

Posted
Hi.

I'm developing the forklift simulator using UNIGINE.

 

I got some problem. 

 

1. Vibration

Black box(load) is vibrated when I lift up the Black box using fork.

The Black box slip over on the fork and drop on the floor.

 

2. Lift up

Red palette is never lift up using fork.

Thin surfaces are can't resist fork.

I mean fork go through the any thin surface(kind a red palette's upper surface, black box side surface)

 

3. Friction

I feel there's no friction.

Fork can lift up the black box only but can't move left and right.

Fork and load move separately.

 

How can I solve these problem ?

 

I attach a simple forklift simulation file.

 

Please give me a reply ASAP.

folklift_test.zip

terrain.zip

Posted

Hi JunSeong,

 

I'm afraid you will need to make fork a body rigid to and do all the physics interaction on a script side. If you will move the objects inside editor manually physics can work unpredictable.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Thank you for your reply.

actually I'm done it.(I set it to rigid box) and i tried change the mass, friction,restitution but i got same problem.

 

1. could you recommend specific values for load(box) or fork (Using my sample file)??

2. Is there any relation values for between load(box) and fork??

Posted

Hi JunSeong,

 

How you did it? If you will continue to move objects via Unigine Editor manually physics would not work correctly. Editor is setting transformation directlyfor each node breaking the physics rules.

 

Can we check the new scene that will work without Editor?

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • 1 month later...
Posted
Hi.

 

Thank you for your reply.

 

I treid to without editor. but I got same problem.

 

There are no physical relationship. no friction, no solidity.

 

I attach a most simple sample(object.zip , If you press the alphabet "l", lower Box goes up)

 

Please help me, what's the problem? and what should i do?

 

If some parameters are incorrect, please recommend reasonable parameter.

Posted

Hi JunSeong,

 

Thank your for the test scene.

 

I've downloaded and extracted Object.zip archive from the first post. However, it seems that some part of terrain is missing:

 

 

12:28:29 Terrain::load(): can't open "terrain/O0303_fl/base_terrain_test.ter" file

12:28:29 ObjectTerrain::loadWorld(): can't load terrain material
12:28:29 Editor::load_world(): can't load "ObjectTerrain" node

 

Is it critical for this test scene or we can ignore this error? If so, we will continue our investigations further.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted
hi

 

I was re-upload the modified file.

 

Please check it again.

Posted

We've finally checked your scene.

 

The main mistake in your code is the same that you did inside Editor - you should not move physical objects via setTransform(). Instead you should use addForce() or addImpulse() in flush().

 

In attachment you can find the fixed physics.h file.

 

Thanks!

physics.h

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...