Jump to content

physics for forklift


Recommended Posts

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

Link to comment

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??

Link to comment

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:

Link to comment
  • 1 month later...
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.

Link to comment

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:

Link to comment

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:

Link to comment
×
×
  • Create New...