x

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"

How can I add jump while holding a ledge to my V Pawn?

So I am making a kind of climbing and jumping system in VR. I got the climbing part done but I can't get the jump part is there anyone who can help me in how can I achieve a projectile motion while grabbing my climable object or jump to another ledge?

Product Version: UE 4.21
Tags:
more ▼

asked Mar 08 '19 at 04:01 AM in VR

avatar image

waqas.moosa
1 1

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

1 answer: sort voted first

That's pretty specific dude, we don't know what kind of project is yours. If you are using the default vrtemplate you have to keep in mind that the default pawn doesn't have any kind of movement component (only teleport), that means you don't have physics applied to your pawn so you can't jump or fall.

more ▼

answered Mar 08 '19 at 04:10 AM

avatar image

Klian
8 1 4

avatar image waqas.moosa Mar 08 '19 at 04:12 AM

So I got walking and climbing done. So my walking is based off character character capsule and character movement is inherited to that capsule.

avatar image waqas.moosa Mar 08 '19 at 04:16 AM

If I follow 3rd person jumping logic on vr will it work?

avatar image Klian Mar 08 '19 at 04:19 AM

If your VR Pawn is completelly attached to a character, yes but you will not be able to spatially move your head in VR unless you find a good way to balance character's movement and real person's movement

avatar image waqas.moosa Mar 08 '19 at 04:21 AM

I am just trying to achieve where if I am grabbing a single climbable actor with both hands, I can jump to another climbable actor.

avatar image Klian Mar 08 '19 at 04:30 AM

Yeah, this is a good start. I have similar mechanics in my project and i can tell you go on and do a good job because it's definitely possible if you follow that way! Just follow character's logic, i would probably pick the "Launch Character" node but I don't know which result is the best for you :D

avatar image Klian Mar 08 '19 at 04:34 AM

Also you can get the direction of your character while it's climbing (GetVelocity->Normalize Vector) and then multiply the direction by a float variable (JumpForce).

(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