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"

Camera rotating when attached to a physics enabled skeletal mesh

Hello,

Version: source 4.8.1 as well as 4.8.2 non-source

I've been struggling getting vehicles working in my game. I've used a lot of different models and decided to get back to basics with a model made in maya using the following tutorial: https://www.youtube.com/watch?v=9yrHqMBynlw

I've been looking around on answerhub and tried to implement all the tips I've been able to find, namely with the root bone position at 0,0,0 and making sure the model is facing the correct way in maya/max?

Here's the imported model: alt text

X is forward, Y is right, Z is up

In phyics simulation it drops nicely and stays put:

alt text

The pawn blueprint is derived from WheeledVehicle pawn: alt text

But when simulating (or playing) the camera/springarm rotate opposite the model:

alt text

You can get the model at https://drive.google.com/file/d/0B5fT8unMtUSzaDV6ekNVeHpac1U/view?usp=sharing

Does anybody have any idea what's going on?

Product Version: UE 4.8
Tags:
skeleton.jpg (220.3 kB)
physics.jpg (219.9 kB)
blueprint.jpg (406.3 kB)
simulation.jpg (410.4 kB)
more ▼

asked Jul 21 '15 at 04:09 PM in Blueprint Scripting

avatar image

Raisteu
167 6 10 21

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

1 answer: sort voted first

Have you tried adding a socket to the mesh and attaching the spring arm to it? That's what I'm doing for my vehicles, although mine extend from Pawn rather than WheeledVehicle I imagine there aren't any relevant differences.

more ▼

answered Jul 21 '15 at 05:48 PM

avatar image

Teksid
21 1 1

avatar image Raisteu Jul 21 '15 at 08:45 PM

Nice! That stopped the camera from moving, now I'm off to the next challenge, figuring out why the wheels fall through the floor :d

Thanks for the tip!

(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