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"

How update simple vehicle component to a new skeletal mesh

Hello, i try create some logic with SimpleWheeledVehicleComponent and it just randomly change skeletal mesh when pawn is spawn. Problem is when it spawn, SimpleWheeledVehicleComponent not update and mesh is just like brick in that picture.alt text But when in simulate mode i try to change parametrs in pawn, SimpleWheeledVehicleComponent start works like it should. alt text And here is what i do in bp alt text Is any solution how i do that in start?

upd1: Found that the wheels are not created after start.... only after changing parameters

upd2: Found this warning LogVehicles: Warning: Cannot create vehicle for /Game/Maps/UEDPIE_0_MainProcedural.MainProcedural:PersistentLevel.Aipawnalt_C_0.SimpleWheeledVehicleMovement. UpdatedComponent has not initialized its rigid body actor. causes this warning LogScriptCore: Warning: Script Msg: Attempted to access index 0 from array 'Wheels' of length 0 in '/Script/PhysXVehicles.WheeledVehicleMovementComponent'!

Product Version: UE 4.17
Tags:
more ▼

asked Aug 17 '17 at 07:50 PM in Blueprint Scripting

avatar image

FastD
61 2 9 9

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

2 answers: sort voted first

Hi,

I just had the same Warning message after migrating a vehicle physics asset from one project to another. Solution in my case was to recreate and reassign the physics asset.

Best, Florian

more ▼

answered Mar 12 '18 at 12:39 PM

avatar image

flarion
10 3 4

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

Bit late but go to the Vehicle BP, click on the Skeletal Mesh Component and make sure Collision/Collision Presets is set (to Vehicle). If it's not set you will get "UpdatedComponent has not initialized its rigid body actor."

more ▼

answered Jun 13 '19 at 06:42 PM

avatar image

ruggy_
16 1 8 8

(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