x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to build a composite vehicle

Hi

I'm trying to build a composite tank which can change parts during gameplay.

So far I have working WheeledVehicle (4 wheels) with my rigged model attached to it. alt text

I have a problem with turret - if its close or intersecting body then tank starts shaking or even flying to the air. If I place it further away then there is visible gap which places limitation on design. Is there a way to avoid collisions between parent body and children? alt text

I'd also like to implement different armor thickness on different faces. Could you please point me to a way how to define thickness of physics body at collision point?

I'm very new to UE so please excuse me if these questions sound stupid.

Thanks

Product Version: UE 4.22
Tags:
components.png (14.4 kB)
tank2.png (1.1 MB)
more ▼

asked Apr 23 '19 at 01:38 PM in C++ Programming

avatar image

Xeon-13
3 3

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

1 answer: sort voted first

What seems to be happening is that the physics of the turret is affecting the physics of the hull. You will need to tell the hull to ignore the turret.

Review this: https://www.unrealengine.com/en-US/blog/collision-filtering

And this: https://docs.unrealengine.com/en-us/Engine/Physics/Collision/HowTo/AddCustomCollisionType

Alternately, you may be able to attach the turret to the hull with a socket.

more ▼

answered Apr 23 '19 at 05:45 PM

avatar image

Doctor_Kannon
196 4 3 10

avatar image Doctor_Kannon Apr 23 '19 at 05:48 PM

The hull thickness is a separate topic. Best to create a new thread for that. For that I would use ray-tracing.

(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