Announcement

Collapse
No announcement yet.

Set Random Object Impulse Direction Accuracy Based on Number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Set Random Object Impulse Direction Accuracy Based on Number

    *EDIT: Using Blueprints
    So here's my situation. Gotta be a bit vague with what I'm working on cause I signed an NDA, but I'll do my best to describe what I'm trying to achieve.

    I have an object that hovers over a game board of sorts. This object uses negative impulse to shoot down at the board when a player initiates that specific action. The player will pick a desired target location by mouse/finger click. Based on player skill, accuracy will be determined at this point. I want this accuracy to change the ACTUAL target location based on RNG of (x,y) vector that surrounds player's initial desired target location.

    I made a quick image in Photoshop that should help with understanding what I'm trying to achieve.

    Thank you in advance for any help you can provide!

    Click image for larger version

Name:	RandomObjectAccuracyQuestion.jpg
Views:	1
Size:	79.6 KB
ID:	1204139
    Attached Files

    #2
    Random Unit Vector in Cone

    https://docs.unrealengine.com/latest...one/index.html
    https://www.casualdistractiongames.com

    Comment


      #3
      That's exactly what I was looking for! Perfect solution for what I need. Mahalo!

      Comment

      Working...
      X