Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Make Collision a Higher Resolution

We are making a game where you control a rolling ball. However, the collision for the base sphere is too low. Because the resolution is so low, we can't achive a smooth rolling movement.

We have tried importing custom collision. But the engine always massively decimates the collision, casing it to be super janky.

The Base sphere collision when editing a static mesh has too low of a reolution in order to achive a smooth enough surface. A way to increase the subdivisions on the collision would be a huge help.

Also, making Simple Collision Complex stops simulating physics, so sadly I can't use that.

Product Version: UE 4.19
more ▼

asked Sep 29 '18 at 12:24 PM in Using UE4

avatar image

171 8 18 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Dont use the polygons of the sphere mesh for collision. use a simple sphere collision instead.

more ▼

answered Nov 23 '18 at 11:30 PM

avatar image

3.8k 18 24 21

avatar image AlexM Nov 23 '18 at 11:45 PM

This is what I'm thinking too. Simple collision in this case would be far more accurate than complex. Win-win :)

avatar image Raxs_Slayer Nov 24 '18 at 12:25 AM

Sadly I tried it with simple sphere collision. This is even the default option with Unreals base rolling ball Controller. Both are set to spheres in the collision editor, but they still skip around.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Have you tried playing with these already?

alt text

untitled.png (60.6 kB)
more ▼

answered Sep 29 '18 at 01:14 PM

avatar image

15.3k 77 26 64

avatar image Raxs_Slayer Oct 02 '18 at 03:13 PM

I have now. and it doesn't seem to make a difference. I feel that the issue is likely still the fact that Ue4 makes our Sphere colliders massively decimated. and our perfectly spherical object rolls around like a 20 sided dice. Do you know of any way to increase the resolution of colliders?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Are you sure? I think with Sphere Collision they use a perfect sphere because its the simplest. You can just check the distance to the center to determine if there is any collision. Only if you render it it looks edgy. It would be unneccessary to have a polygon collision mesh as a sphere and perform lots of triangle intersection tests. So I think the problem lies elsewhere.

more ▼

answered Oct 02 '18 at 03:32 PM

avatar image

885 47 46 80

avatar image Raxs_Slayer Oct 02 '18 at 04:13 PM

I am rolling the ball across a Perfectly flat surface that only consists of 1 polygon. Occasionally (at different points) it will just bump into the air, taking control away from the player at often critical moments. The ball has a sphere collider on it. It appears very low res in the viewer, but as you say this may not be an issue. This is also a problem even with Ue4's base ball controller. So I have no idea if this is a fundamental problem with ue4s physics. Can you confirm that this method works with the Ue4 Ball controller? If so, I may just rebuild the entire player controller if I have to.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question