News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Mods > The Ball > The Ball

Thread Tools Display Modes
Old 5th Jan 2009, 11:35 AM   #1
Registered User
Join Date: Jun. 15th, 2008
Posts: 16
The collision setup of the ball?

How is the collision of the ball set up so it rolls smoothly and still collides with everything?

I'm working on my second ever map, inspired somewhat by DM_Blockland.

Among all the kActors is a giant ball perched on a spike way above the level. If you shoot it it falls off, bounces down and causes havoc as it demolishes everything it hits.

The ball is converted from a BSP sphere, with the Simplified Sphere collistion. This works fine, except it does not collide with shock balls, redeemer missiles, avril missiles and players.

If I use the Sphere Primitive builder brush and save that as the collision, then it does not roll smoothly and tends to get stuck resting on one of its faces.

Any advice on how I can set up my sphere?

I tried opening The Ball mod's maps in the editor so I could see for myself but the editor kept crashing.

Last edited by Vectorspace; 5th Jan 2009 at 11:37 AM.
Vectorspace is offline   Reply With Quote
Old 5th Jan 2009, 01:48 PM   #2
Hourences's Avatar
Join Date: Aug. 29th, 2000
Location: Belgium/Holland/Sweden
Posts: 5,050
The ball collision is very advanced actually, because we had a lot of trouble getting it to work, so we ended up with the current very advanced approach. It is basically one big hack.

I do advise trying to open it up in the editor, as it makes checking things up easier. The reason why its crashing is because the editor cannot find the U file. So manually load the U file first, then the level. More info on this in the mapping thread on this forum.

What we do is this:
-Three layers of "ball". One is the visual mesh that you see, but it has no collision at all, it is not even a kactor. This one is 10 000 poly.
-One is an invisible low poly mesh, about 800 poly, that provides the actual collision, this is the actual Kactor that you play with. This one also has 100 percent full per poly collision (read my Modeling 1 tutorial for info on enabling per poly)
-One is a second invisible very very low poly mesh, about 100 poly, that provides player collision.

So in others words, we have split the player collision and all other collision between two meshes, this to prevent players from getting stuck inside the ball when it hits them with high velocity. You may not want to go this far.

The simplified sphere collision sucks, we never use it. It indeed doesnt collide with everything, so use per poly collision instead.
Hourences is offline   Reply With Quote
Old 6th Jan 2009, 03:19 PM   #3
Registered User
Join Date: Jun. 15th, 2008
Posts: 16
Thanks Hourences, that really helped. A higher poly spherical kActor with Simplified Sphere collision and per poly collision works like a charm. I'll look into attaching a simpler collision if player getting stuck becomes an issue.

Thanks again
Vectorspace is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer