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"

X,Y or Z of FVector unset?

I'm experiencing quite a strange error at the moment. I use a spline to calculate vertices along a path. When I print the vectors (using vec.ToCompactString()) I'm calculating I get something like:

V(X=-100.00, Y=20.00) or V(Y=20.00)

But I'm expecting 3 components here (namely X,Y and Z). Can that be that some components of a vector are not set?

Product Version: UE 4.10
more ▼

asked Jan 17 '16 at 07:19 PM in C++ Programming

avatar image

142 11 14 19

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

1 answer: sort voted first

Since you're using Compact string, I imagine it's not printing the values that are 0. That doesn't mean they aren't set, just that their value is 0.

more ▼

answered Jan 17 '16 at 07:21 PM

avatar image

1.7k 81 28 81

avatar image padmalcom Jan 17 '16 at 07:24 PM

Hi TTaM, thanks. Sorry that was a dumb question... had a look at the source code and saw it myself.

(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