UE4 - Changing Characters UE4 Possession

  Рет қаралды 18,602

GameDevMan

GameDevMan

Күн бұрын

Пікірлер: 33
@lordkanesoulreaver
@lordkanesoulreaver Жыл бұрын
it wont let me do the set controlable for 5.1.1 can ya plz update to the new engon so i can get this to work ?
@FabioHartFernandes
@FabioHartFernandes 7 ай бұрын
Can you help us a little bit further? I am building a level where the character can choose between various Metahumans... ive managed to achieve the first change, but besides that nothing worked... thanks a lot for helping me to getting so far...
@FabioHartFernandes
@FabioHartFernandes 7 ай бұрын
Thank you... everything worked fine... amazing tutorial...
@haukewalden2840
@haukewalden2840 2 жыл бұрын
Thank you! Went through 5 other videos until I finally found the "Posses" in your video! :)
@iShrekedJoeMama
@iShrekedJoeMama 2 жыл бұрын
Such a wonderful tutorial. Thanks a lot, that's very useful
@geoffrey3668
@geoffrey3668 2 жыл бұрын
Thank you for this very helpful tutorial!
@aaronwheeler9325
@aaronwheeler9325 Ай бұрын
when ever i switch it just crashes
@khayyamal9207
@khayyamal9207 4 жыл бұрын
Dude... This is amazing Thanks for this great tutorial
@javierfernandez3727
@javierfernandez3727 3 жыл бұрын
Really useful, thanks a lot 😁
@El-Piersan
@El-Piersan 2 жыл бұрын
what if i want to add another character?
@DolphinWantsPeace
@DolphinWantsPeace 3 жыл бұрын
Hey, I really enjoyed the video. Is it possible to make the main characters "transform" into another which is not "spawned" in the world and after transformation despawn the old character? To simplify this, let's say I want my human character transform into an wolf by pressing 1 and inherit all the wolf animations/skills. I would really appreciate such a tutorial. Thanks in advance
@rcsmultimediallc4734
@rcsmultimediallc4734 2 жыл бұрын
This is the exact same thing I am trying to do!
@FigureZ
@FigureZ 2 жыл бұрын
@@rcsmultimediallc4734 Same, pls tell me if you find a way.
@FigureZ
@FigureZ 2 жыл бұрын
Did you find a way?
@DolphinWantsPeace
@DolphinWantsPeace 2 жыл бұрын
@@FigureZ sadly I gave up due to lack of time and energy, but I've seen recently that some game devs have a "secret room" under the map where they spawn all the enemies in the level during loading screen and they just "telesport and activate" them when the player reaches a certain point in the level. This is to prevent lag during gameplay. Maybe this can be done for the character too using a trigger or something. Hope it helps.
@FigureZ
@FigureZ 2 жыл бұрын
@@DolphinWantsPeace Dude thanks a lot. This will help! 🙏 🙏🙏
@KavanBahrami
@KavanBahrami 2 жыл бұрын
If you wanted to run Character2 around using different inputs, ex keyboard WASD for defaultPawn and gamepad or some other input for Character2, while still controlling myself "defaultPawn" - in short, not using posses - how would you do it?
@kenalpha3
@kenalpha3 2 жыл бұрын
Copy a base of Epic's different characters (e.g. First Person, Third Person - whatever is closest to the way you want yours to move/camera). Then open its BP and search for "Movement Input." E.g. I have a 2.5D SideScroller project. 1) But I imported someones BP_FirstPersonCharacter, which is already setup with Movement Input: has Key nodes for W = Set Forward Value 1, S Set Forward Value -1, A = Set Right Value 1. 2a) So you change those keys to your gamepad buttons. (And the most important part is the Camera is already setup for First person view - while a Third person BP will have Third camera view, and SS has 90 degree camera. So that's why you need to choose a type of view & movement you want first.) 2b) But the better way to set your gamepad keys (so you can also use keyboard at the same time/switch): Go to your Project settings > Engine > Input: Here you define your "Axis Mappings" (at the bottom). And UE lets you set the Keybind AND gamepad button to use for that specific movement control. Thus in your code, you refer to the name of the Axis mapping (you add that Named Node), and not the exact key (because it will already know - read it from your Project settings). E.g. in my SS character BP: spacebar is not in the code. I use "InputAction Jump" Node = (activates spacebar or gamepad key I set in the Project settings).
@KavanBahrami
@KavanBahrami 2 жыл бұрын
@@kenalpha3 I ended up using my pawn player controller to spawn an AI controller and a thirdPersonCharacter, then possesses that controller with the AIController. Then I just pass input from my pawn player controller to the AIController who then passes that input to the possessed second character. It works to give me two playable characters in VR, myself and a 'puppet' passing all gamepad/controller input through my Pawn Player Controller.. Might not be the best of ways, if someone has a clearly better please let me know, but it works well for my purposes.
@kenalpha3
@kenalpha3 2 жыл бұрын
@@KavanBahrami Oh. I misread your question. You want to control 2 at once. Then what you did is good. There might be a less code way. but if it works for you then ok.
@kenalpha3
@kenalpha3 2 жыл бұрын
Collision question about the Possess box: I added the same box around my original character (for the code to return to my character). But now this box is collided with pickup Actors in my level, and messing them up. What is the correct way to setup collision so that this big Possess box only generates overlap events from another Possess box? I.e. do I need to make a custom collision channel? (My pickup BP code has a giant sphere collision that actives when it hits my Character. So now it's activating early because it hits the big box that I only want used for Possession code overlap-events.
@arismpyoutube
@arismpyoutube 2 жыл бұрын
hey man video is very helpful is there any way on, changing character's just by pressing a key instead of walking up to the characters it would help allot.
@mn8xr465
@mn8xr465 2 жыл бұрын
Very cool but I wish there was a way to share Blueprints so I could copy and paste and test it instead of trying to recreate everything I see in tutorials. Is that possible? If so why dont people do it? Thanks for the good tutorial, I just daunted by trying to reconstruct Blueprints and wish there was an easier way.
@kenalpha3
@kenalpha3 2 жыл бұрын
1) There is. BlueprintUE website. I agree it's easier when new, to get the actual file. (Most youtubers dont give files anymore, or make you pay.) 2) Another reason is even if he gave his exact code, you still need to paste it in, then right click on his variables (which you dont officially have added), then chose add create variable (from his). 3) So the best way to share code, is share a project file. 4) "I just daunted by trying to reconstruct Blueprints and wish there was an easier way." This was a very very easy BP code. Best that you learn to do this, so you can handle harder ones later. The way to add BP code with youtube videos is have 2 screens, headphones on, and sometimes set video playback to 50%. Play video, Listen + watch each step, and you click in your UE window, so you can be right clicking - typing the next node to add, after he says the name of it (that you type in your search box).
@cecill2520
@cecill2520 3 жыл бұрын
thank you
@dacarly1330
@dacarly1330 Жыл бұрын
Is it possible to posses the “player start” capsule and not the actual character?
@GameDevMan
@GameDevMan Жыл бұрын
Select the capsuke abd set it to be "Player 0" in the details pannel.
@geileschnecke3912
@geileschnecke3912 3 жыл бұрын
yaaaaaaaaa thanks
@pedrosanmiguel6575
@pedrosanmiguel6575 4 жыл бұрын
just what I wanted a simple and to the point thanks
@imaginaryconception
@imaginaryconception 2 жыл бұрын
4.26?
@hajime8904
@hajime8904 2 жыл бұрын
Write correctly Title, i was thinking that you are going to teach about Possesion, but no
@srawdawg6188
@srawdawg6188 3 ай бұрын
Yes, possession, playercontrollers and indexing, these things seem like a voodoo science and no one knows how they work apparrently.
UE4 Blueprint Casting Tutorial
7:06
GameDevMan
Рет қаралды 7 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 55 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 18 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,8 МЛН
UE4 Realtime Hair/Fur - TUTORIAL - 3ds max to Unreal Engine 4
11:02
Unreal Engine 4 Tutorial - Camera Switching
12:23
Ryan Laley
Рет қаралды 95 М.
UE45   Equality and Inequality Operators
6:40
GameDevMan
Рет қаралды 486
Unreal Engine Tip #1 Changing between Pawns and Possession
6:51
Kevin Rushin
Рет қаралды 72 М.
Runtime Character Switching in Unreal Engine
20:53
CodeLikeMe
Рет қаралды 17 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33