Making my Paper Character face the direction he is moving - unreal-blueprint

I am making a TopDownShooting-Game with Blueprint. It does work well, however, I have one problem. I am trying to make my Character (Paper Character) to face the direction he is moving to. Unfortunately, the Character does only face to right, even when I am moving left, even though my code should have fixed it.
Thats what I've tried so far:
Blueprint1
Blueprint2
I really don't know where the error is. The Blueprint-code seems clear to me.
Thank you!

Related

How can I place images (variable number of them) relatively to each other and also scale jumbotron they are in accordingly? Django

I wanted to ask you for your help. I fought with it for quite a long time but I couldn't come up with good solutions. This is my first project in Django and HTML/CSS/js so I am sorry in advance :P
I created two images that will help me explain my problem:
In this case, I have three images, png with alpha. The actual image is in red "I-1". The darker border is actual image size. By default they of course stack like that. And yellow is other stuff.
When I place them ether by position relative or absolute it looks like that:
And it is also quite logical why this happens. This is kinda what I want to achieve. But there are two/three problems:
1.1 - Other stuff for the website is way down, this looks weird and I don't like that.
1.2 - My jumbotron also is stretched way down.
2 - I have a different amount of images in various cases. Sometimes there are 3 of them and sometimes 5 of them. And each one of them I need to place a little bit different. That is a big problem for me.
I managed to create three types of them, when first(1) and last one(5) are always the same so it is cool, but 2, 3 and 4 in the middle needs a little bit different position.
I am new in Django, CSS, and HTML so to be honest, I don't even know how I should google that. I will be very grateful for any help and tips.
Thanks and Cheers!
I searched internet and experimented for some time. And right now my best solution is css "scale".
I went with for example:
#head {
scale: 3.5;
z-index: 5;
}
And it is working quite well! First I add small images (like 100px) and then scale them up in CSS. This way they are aligned nicely and also don't take much space below them. By scaling up my "I-1", "I-2" etc. from my examples are next to each other and they don't take space around them.
It is certainly not an very elegant solution but it works :)

No images displaying for me , just black boxes just white ticks

Im doing some coding in html , I have put in some image codes but they're not displaying for me. The only thing I am getting is a black box with some white ticks in it. Can someone please suggest how to fix this or maybe what the problem is.
unfortunately I would add this as a comment but not enough rep yet :). If you need some help an example of your code would give people a better chance of understanding what your doing or even where you may be going wrong.
The answers people can give to this may not even help in your case.

cocos2d-x: why are there gaps in my 3d model?

see right arm and right leg.
we really workout a perfect model, but after we add animation the gaps appear again. does anybody know why? we use coco2d-x for ios and android.
This happened to me when the bone data was a bit off. Make sure the parenting of your bones and positioning of your bones always stay the same (distance from each other. Like moving an arm doesn't cause the hand to go further away from the elbow bone). I saw this same problem when the individual bones moved a bit too far away from each other in certain frames.
There's no quick fix for it, I just made sure that every for frame there is no gap in the model. Correct parenting usually fixed this. I hope this helps.

Margin issue when resolution increases

I just noticed a resolution issue with a site I am creating, and as I am pretty new to HTML & CSS, I really can't figure out how to fix it.
here is the page where the issue occurs : http://website213.com/tour
I need to make the Right elements of the page lined all together, but as soon as the resolution increases a bit, it gets messy !!
Kindly help me fix this issue.
Best,
The problem is the positioning. Some elements are absolute, some are relative and some seem to be fixed. It would be impossible to go one by one, you will have to see how the whole site is being constructed.
I recommend you start by reading how positions work. They are really easy to understand, but if you haven't read about them they can ruin your life. Just do a search for css positioning or check this link: Learn CSS Positioning in Ten Steps.

What would you see if left-right images of a 3d view are inverted?

Sorry for the maybe-trivial post, but I really cannot figure it out...
Let's suppose you have some 3d glasses or something that allows you a 3d stereo vision.
What happens if you invert left and right image??? Thinking at it I cannot really figure out it. Should you see the reverse of the image? Or just some axis-shift?
Unfortunately I cannot try it out in any way, but even if possible, I'd love to try to figure out and understand the thing with my mind before trying it.
So, please, any help, any idea, any hit that can help me to understand or to deeply discuss are welcome.
For the human brain it's next to impossible to give a formal answer, because frankly, neurologists still don't fully understand how it works in detail. But so much we know:
Our brain does no absolute "measurement" on the parallax in stereo images. The whole depth perception works on parallax differences. You could say, the brain takes the derivative of the parallax to build it's mental representation of depth. Derivative of Parallax and depth are taken to be (nearly) proportional. By swapping the pictures the derivative gets negative, so at every point the brain sums up depth in the wrong direction.
However parallax is not the only source for depth perception. Of similar importance is experienced knowledge about typical object in the world. For example faces are "known" to be never inside out, so even with negative parallax the knowledge will overrule and the face being percept in the right form (however it'll clash hilariously with the surroundings).
You would see it as "inside-out" (it's a little more complex than that, but that's the basic truth).
You can experience 3D without any special hardware, thanks to stereoscopic images (side-by-side, then crossing your eyes to see the images as one unique image).
You can then switch right to left, left to right by editing the image.
Here is an example with an image I've found on the web: https://imgur.com/a/ov7U7N5
Do you feel any difference in the depth? Do you see things inside out?
I believe the sense of depth in this case is preserved. But maybe it's just me.