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"

Vehicle Movement

Hi, i have bought the Simple Military asset pack from Synty Studios, and i am now trying to wire up the tanks from that pack to the vehicle movement class, now i have got this working for wheels, but i am having some problem getting turret and barrel to work.I am using arrow keys to rotate barrel and elevate the barrel.

the tank asset is a single skeleton mesh and turret and barrel are connected using bones.

asset i have been trying to get working is called SK_Veh_Armor_Car_01

i have been using Transform (modify) bone on the turret and barrel, but i can only get it working if i set turret and barrel to Physics type Kinematic and remove the physics constrain connecting the turret and barrel to the tank body( or the tank will not move forward, but barrel and turret does move) but when i do this my barrel and turret has no collision.

if i set the turret and barrel to Physics Type Default they just "rag-dolls" towards the ground and spins, and input from Transform bone does not work at all.

Is there a way to get it working and have collision on all bones, with out editing all the vehicle assets in to separated static mesh assets for the turrets and barrels? have no experience using blender or other programs like that so i was hoping there is way?

I am new to unreal engine too, so have little experience using blueprint and never used animation blueprints If the assets are wired up like these packs are am i suppose to be making animations blueprints instead?

or are the vehicles assets set up wrong for unreal? Unsure what too look in to next, will i need to learn animation blueprint and how to control them using blueprints?or will it be better to just learn to edit all the assets in Blender and splitting them in to static mesh component? or am i doing something wrong?

Product Version: UE 4.18
Tags:
more ▼

asked Mar 17 '18 at 09:22 PM in Using UE4

avatar image

freebattie2
1 1

avatar image Jin_VE Mar 17 '18 at 09:29 PM

The vendor should support you if you ask. Marketplace vendors have to help you.

Can you show the skeleton tree? Just the tree heirarchy (in general, try not to expose more of the asset than you require).

avatar image freebattie2 Mar 17 '18 at 09:43 PM

alt text

The TESTING socket i added, i was trying to hack a work around. I will sent them a mail and see, thanks for the feedback.

img-0875.jpg (90.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I would try turning on per-bone physics ("all bodies below" each wheel, including self). This tutorial is the most recent one that covers how to do this. It's about "pose snapshot" but he sets up character physics for ragdoll first. You basically want to do the same thing but where each wheel has physics on but the rest of the skeleton has it off.

Not sure it will work but it might be worth a try.

more ▼

answered Mar 17 '18 at 09:58 PM

avatar image

Jin_VE
4.4k 32 79 42

avatar image Jin_VE Mar 17 '18 at 10:01 PM

I'm going off of memory on the video I gave. That may just be full-body physics for ragdoll. This one definitely covers per-bone physics, it's just a bit older.

avatar image Jin_VE Mar 18 '18 at 01:03 AM

Actually. I haven't messed with it much yet but you should be able to control all that in the physics asset. You can tell each bone if it is kinematic or simulated. Check this video. They go through bodies, constraints, and such, in detail. Did the tank not come with that set up?

avatar image freebattie2 Mar 18 '18 at 08:10 AM

ok ty, will look over the video and see if it can help with the problem, tank did come with that set up, and i have messed around with it. but as i said, if i change turret/barrel to kinematic the tank stops moving as long as there is a constraint from turret to tank body, if i remove that constraint the tank moves and barrel/turret moves, but when i use kinematic on barrel/turret they no longer have collision vs walls ramps etc . will look over the video and re import the assets just to make sure i didn't break anything while testing. and watch that video.

avatar image Jin_VE Mar 18 '18 at 08:41 AM

I think you need to use the RigidBody node in your AnimBP to get the Simulated/Kinematic stuff to work together. Not sure tho.

avatar image Jin_VE Mar 18 '18 at 09:21 AM

What if you tried it from the other direction? You may be able to simulate the entire skeleton and use physics to turn the turret. I wish I could be more help but I've never messed with vehicles. Just trying to help you find your way.

(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