MrIslomaniac Posted February 4, 2010 Posted February 4, 2010 Good Evening Ladies and Gentlemen I just faced another problem:I load a model and when i collide with it, I go through it and then everything gets weird, watch it for yourself =) This is the code I am using: The model: TBody Hummer = LoadModel("abstract::hummer.gmf",0); PositionEntity(Hummer,Vec3(5,0,0)); EntityType(Hummer,2); SetBodyMass(Hummer,100); and the controller: TController LocalPlayer=CreateController(1.8,0.45,0,50); EntityType(LocalPlayer,1); SetBodyMass(LocalPlayer,80); SetBodyBuoyancyMode(LocalPlayer, 1); HELP Quote
Canardia Posted February 4, 2010 Posted February 4, 2010 I had the same problem, and the player controller went inside objects and then was thrown out. I found some fix, but can't remember right now what it was. Trying to remember now... EDIT: Ah yes, now I remember. I made a pivot child of the controller, and that messed everything up. So now I don't child anything, but only move and rotate "childs". A similar problem happened earlier also with animated models, and the fix was the same. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.