SA-MP Forums Archive
kdff: box collision is not generated properly - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: kdff: box collision is not generated properly (/showthread.php?tid=647575)



kdff: box collision is not generated properly - mschnitzer - 07.01.2018

Hey,

I've created a big wall in blender and attached a box collsion to it. When walking to the borders of the object, you'll fall down at some point. I'm not really sure what I did wrong. I attached the txd, dff, and the blender file to my post for further debugging.

Screenshot (Blender): https://www.fast-images.de/uploads/3...368fd32c38.png

Not sure what info is relevant to that issue. Just ask and I try to provide you more information.


Re: kdff: box collision is not generated properly - Kasis - 07.01.2018

It seems you had to center pivot to object, that what was cousing the trouble.


Re: kdff: box collision is not generated properly - mschnitzer - 07.01.2018

How do you center it? I tried setting the cursor to X: 0, Y: 0, Z: 0 and pressed Shift + S to move the object to the cursor, but it didn't help.


Re: kdff: box collision is not generated properly - ThinAir - 07.01.2018

You can move origin as shown on the picture below or you can choose any other option




Re: kdff: box collision is not generated properly - Kasis - 07.01.2018

Oh, I don't know how to do it in Blender.


Re: kdff: box collision is not generated properly - mschnitzer - 07.01.2018

OK, I solved it. I set the 3d cursor's coordinates to X: 0, Y: 0, Z: 0, then I pressed "SHIFT + CTRL + ALT + C" and selected "Origin to 3D cursor". Then it will look like this:



As you can see, it's centered.