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"

I want to modify the scale of character mesh to match reality according to height of camera in VR.

I want to get the camera height of the player through GetOrientationandPostion and adjust the scale ratio of the player mesh to the camera height value.

I am thinking about using math to calculate, but I can't think of an idea. I'd appreciate it if you could help me.

Product Version: UE 4.21
Tags:
more ▼

asked Dec 18 '18 at 05:58 AM in Blueprint Scripting

avatar image

WildEric
3 1 1

avatar image aNorthStar Dec 18 '18 at 06:24 AM
avatar image aNorthStar Dec 18 '18 at 06:29 AM

It's not an instant solution, but you might find this interesting... using entry and exit points and scaling/interpolating between them... of the top of my head, I'd use Ease, Lerp or Interp... maybe with a Timeline...

http://www.gamasutra.com/blogs/GameMakerStudio/20181211/332655/Desert_Child_How_I_Faked_Everything_and_Hopefully_Got_Away_with_It__A_Tragedy_in_3D_Acts.php

avatar image WildEric Dec 19 '18 at 04:19 AM

It's not the answer I want, but thank you very much for your answer. I simply need a logic to calibrate the Character Mesh with the Camera Height Value. I want the scale value to be changed properly only when I call a function that is not continuously updated in real time.

(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