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 to set position of my character when i enter the car

.Hi everyone.I'm stuck with this problem:

-if my is in this position position , everyhwhere on the map , but in that position , my character will attach ok , i mean it will stay in the driver chairchair_position. But if i drive the car , and go anywhere on the map , but in any position , my driver will be attached in other position , and in other rotation.this position,and i don't know why.How can I follow the rotation car(or world rotation,i don't know ).What should i do to attach my character in normal position , even if i go on a mountain with that car ,or everywhere?

This is my blueprint , that attach my character(actor) to car(actor): my blueprint.

I would like to do something like in gta , where i can get in/out of car...Please help me , i'm stuck , and i need a method :D Thanks

Product Version: UE 4.13
Tags:
position.jpg (91.3 kB)
pos2.jpg (101.6 kB)
pos_fin.jpg (84.5 kB)
bp.jpg (128.1 kB)
more ▼

asked Oct 13 '16 at 02:27 PM in Blueprint Scripting

avatar image

pax0ff
7 2 7 10

avatar image RuBa1987 Oct 13 '16 at 02:41 PM

I would make the car a pawn and possess the car when you enter it and possess your character when you exit the car. It looks like (and I may be wrong) you're having the character control the car. That's not really how it's supposed to work. Your controller should control the car directly.

If you just possess the car as a pawn and attach the character actor to the car you should be fine. You're doing a lot of extra updating of position that the engine can/will do for you. If you let the engine do the updates you should be fine.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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