Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 10, 2017 3:28 pm 
Offline

Joined: Thu Apr 20, 2017 3:51 pm
Posts: 5
Hello everyone,

I'm working on Rigid Bodies created from GImpact Mesh Shapes.
It seems that they are far too big to all appear in the screen, so I tried to re-scale it like that :

gImpactMeshShape.LocalScaling = new Vector3(0.4f);

It doesn't have any effect on the Rigid Bodies : my screen displays the Triangle Shapes re-scaled next to the same Rigid Bodies (see the image below).

Does anyone have an idea to help me ?

Thanks a lot.


Attachments:
File comment: The green triangle shapes are re-scaled but not the rig bodies, they stay big.
localscaling.PNG
localscaling.PNG [ 31.09 KiB | Viewed 730 times ]
Top
 Profile  
 
PostPosted: Thu May 11, 2017 1:50 pm 
Offline

Joined: Fri Apr 29, 2016 2:41 pm
Posts: 41
You scaled the rigid body but your graphical representation still isn't accurate.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group