• News

• Industries

• Learning & Support

• Community

• Marketplace

# Maths

Russian

Thatās right, I have already used this technique. But Iām still interested in how, knowing the coordinates of the child and knowing the relative transformation, calculate the position and rotation of the parent.

Based on this example, I tried to perform inverse transformation to the child to set it in place of the parent, but it did not work for me. So I am asking for help here.

Another math question. The coordinates of the points V1 and V2 are known, the distance L is known. It is necessary to calculate the coordinates of the point V3. I am interested in the built-in UE4 functions that will allow this to be calculated. You can also give trigonometric formulas.

1 Like

Thank you, this is what I need. The get unit direction (vector) function returns values from 0 to 1, which are the direction. The variable rotator also shows the direction. What is the connection between them. How to translate the values at the output of the get unit direction (vector) function into a rotator and vice versa?

Sword strikes.

1 Like

The coordinates of points V1 and V2 and the angle A are known. D1 = D2.
It is necessary to find the coordinates of the point V3.

Isnāt this something covered in primary school and very easy to research on your own? Besides that, the angle makes little sense here since weāre in 3d. You may need to rethink what really needs doing or discard an axis.

If you know the plane you want to rotate in, you can rotate a vector:

1 Like

A is a rotation in space and consists of three rotations.

I know the school curriculum, but I donāt know UE4 well. If the question is simple, then the easiest way is to ask. But if the question is difficult, then I have to decide. So sorry for the stupid questions.

Rotate Vector is the answer, as above.

This:

Gives you this:

1 Like

Thanks for the example. The easiest way for me to learn UE4 is with simple examples.

+1ā¦ Yeah its a good thing @Everynone works full-time on here for free.
Otherwise, canāt imagine what Unreal support would actually look like!

1 Like

Here is the answer to my question:
V3 = (V2 - V1)RotateVector + V1

But he knows a lot, and I donāt know anything.

Been lobbying Epic for years to offer rewards to devs who help out on the forums.
No luck so farā¦ So it doesnāt look like any regular posters will be getting rich soon.
Bad news for anyone joining the community now though as they canāt expect help.

2 Likes

If no one helps me, then I will never finish my AAA project.

Soā¦ how many millions are we investing? How many pros are you staffing? How many years can you keep going?

Whatās wrong with focusing on something Small & Awesome? Screw AAAs

Iād be so chuffed with a B-

2 Likes

Iām kidding.

Where can I see what you are working on?

I did not get it. My bad then

Good luck with the swordplay!

1 Like