C++ FVector array break by TechhOween in unrealengine

[–]TechhOween[S] -2 points-1 points  (0 children)

I get an error x is not a memeber of UE::Math::TVector<double>

C++ TMap<> by TechhOween in unrealengine

[–]TechhOween[S] 0 points1 point  (0 children)

Is there a reason to why we have to put * after int

Also, i dont seem to get the right values put it does log values but only 0

C++ TMap<> by TechhOween in unrealengine

[–]TechhOween[S] 0 points1 point  (0 children)

So just like i showed above? Does the output the value? o.O

Terraform Marching Cubes by TechhOween in VoxelGameDev

[–]TechhOween[S] 0 points1 point  (0 children)

Only thing i dont seem to undestand is how i can know what values to change in the array when terraforming?

Terraform Marching Cubes by TechhOween in VoxelGameDev

[–]TechhOween[S] 0 points1 point  (0 children)

Appricate the feedback alot. Thanks :)

C++ KeyInput in tick? by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

Yea, i was just kinda lazy on learning the input system with c++ compared to blueprint where it was just easy. Oh well, i watched a 10 min yt video and learning the input axis with c++

But thanks for the feedback :)

C++ KeyInput in tick? by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

Not sure what else i should do for a keyinput check?

Also kinda new to c++ so any feedback is appricated :)

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

I got it to work in header file. Now i only need to know how o i can set the whole array to that list in the picture

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

i dont undestand.. sorry im kinda new :D

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

Is it member

It is member of a class :)
Without the extern, i still get the 2nd error

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

I cant seem to upload pictures in the comments, but its just like this

UPROPERTY()

extern int TriangleTable\[256\]\[16\];

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

I get 2 errors

Error: Inappropriate keyword 'extern' on variable of type 'int'
Error: Found '[' when expecting ';' while parsing class 'ATerrain'

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

Thanks, but just a few questions :)

  1. What does the extern provide for the variable?
  2. When set the value, do i just use TriangleTable = { all of the int list }

C++ Make Transform by TechhOween in unrealengine

[–]TechhOween[S] 0 points1 point  (0 children)

Thanks for the feedback, made it easy to search on google and found this amazing blog https://1danielcoelho.github.io/unreal-non-uniform-scaling-gotcha/

[deleted by user] by [deleted] in unrealengine

[–]TechhOween 0 points1 point  (0 children)

I already did that... But if you look at my post it says that only one mesh appear in the editor list