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 do I throw characters with Vive motion controllers

Trying to figure out how to throw miniature AI characters, and hitting on a problem.

I've given the lil' guy a SimpleMoveToActor blueprint in the Level Blueprint, and it works fine. The goal is to create a little game in which you have to stop mini AI characters from making it to their goal by picking them up and throwing them away.

I've assigned the AI character the PickupActorInterface and pasted in the Pickup/Drop blueprints from the PickupCube that come with the VR Starter Content. I can pick him up just fine, but when I try to throw him he ignores the physics, and just drops to the ground, immediately continuing on his path. Also, if I hold him long enough, he wigs out in my hand then sort of breaks. No longer moves at all when I drop him (though he still can't be thrown).

Not sure what to do about this. I'll attach images and GIF's to show you what I mean, and let you see the blueprints I'm using, plus attempts at fixing the issue that I've made. alt text

Product Version: UE 4.17
Tags:
more ▼

asked Sep 24 '17 at 04:39 PM in VR

avatar image

grantmhansen
1 1

avatar image grantmhansen Sep 24 '17 at 04:41 PM

GIF's alt text

alt text

grab-1.gif (613.6 kB)
dead.gif (540.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I'm not sure if all the magic you're doing with your velocity is all that necessary. Maybe it'd suffice if you switched from a SimpleMoveToActor to a vinterp to position?

Then you'd be able to stop the animation any time which I guess is the issue here.

more ▼

answered Sep 25 '17 at 10:40 AM

avatar image

Schnittbrot
219 2 6 7

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

Thanks @Schnittbrot, I'll give it a try!

more ▼

answered Sep 25 '17 at 01:46 PM

avatar image

grantmhansen
1 1

avatar image grantmhansen Sep 25 '17 at 01:47 PM

Thanks! I'll give it a try!

(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