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"

Why do I fall through the floor when teleport

alt textWhen i do a teleport and my actor is an Pawn i do not have a problem but when i change my actor to a character i always fall true the floor. The BP set the teleport location of the actor on the worldposition of the motioncontroller and for SetActorLocation i use TPLocation with the relative location X/Y of the camera and leave Z on zero. When i set relative location of Z on 15cm or higher, i not fall true the floor after teleport but i am flying above the floor. I try to change my capsule colision to block all, also place the root of my controllers and camera under my capsule so the bottom of the capsule is not under my floor when i teleport but nothing helps.

Product Version: UE 4.20
Tags:
2018-09-12-1.png (160.6 kB)
2018-09-12.png (83.3 kB)
more ▼

asked Sep 12 '18 at 05:19 AM in VR

avatar image

Flightys2
1 1 2

avatar image ThompsonN13 Sep 12 '18 at 01:10 PM

i sounds like a issue with the origin of the character. the characters origin is at the center of the capsule so it is possible that if you dont compensate you could fall through the floor. why are you adding the camera location? that doesnt seem necessary.

avatar image Flightys2 Sep 12 '18 at 02:11 PM

Hello, thanks for answer. I add the camera because its the method that i use when the actor was a pawn and not a character. So i have to leave the cameraroot (sceneroot) from the camera in the middle of the capsule in viewport and in the function "Teleport to Location" use the Capsule as target for the relative location node of X and Y? Or how?

avatar image ThompsonN13 Sep 12 '18 at 07:28 PM

i have no idea what that last part was meant to say. anyway though it appears your adding a relative location to a world location so it wont give the result your looking for. also if your camera is at the center of the character then it would be adding zero to all axis anyways so its not needed. what i would be doing instead is to add the capsule half height to the target location z axis which should solve your falling through the ground issue.

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

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