How do i calculate an object's velocity along a vector?

  • Context: Undergrad 
  • Thread starter Thread starter Nanako
  • Start date Start date
  • Tags Tags
    Vector Velocity
Click For Summary

Discussion Overview

The discussion revolves around calculating an object's velocity along a vector, specifically in the context of an object moving in 3D space and impacting a wall. Participants explore methods to determine how much of the object's velocity is directed toward the wall, including concepts of vector projection and vector resolution.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant suggests using vector projection to find the component of velocity directed toward the wall.
  • Another participant proposes resolving the velocity vector into two components: one toward the wall and one parallel to it, questioning how to determine the angle of the velocity.
  • A different participant agrees that vector projection is a general method to describe velocity in relation to the wall's direction, mentioning the importance of the wall's orientation.
  • One participant shares that a game development platform (Unity) has a built-in function for this calculation but expresses interest in understanding the underlying mathematics.
  • A mathematical expression for the normal component of velocity is provided, involving the velocity vector and the normal vector to the wall.
  • A suggestion is made to read about vector resolution, indicating that any vector can be decomposed into two components that sum to the original vector.

Areas of Agreement / Disagreement

Participants express various approaches to the problem, with some agreeing on the utility of vector projection while others seek clarification on the specifics of angle measurement and vector resolution. The discussion remains unresolved with multiple competing views on the best method to calculate the velocity component.

Contextual Notes

There are limitations regarding the definitions of angles and the specific orientations of the wall and velocity vectors, which are not fully clarified in the discussion.

Nanako
Messages
39
Reaction score
0
assuming 3D space. i have an object moving in a fairly arbitrary direction. Say it's being fired in an arc, and it hits a wall.

What i want to find out is, how much of that object's velocity is "toward" the wall. Ie, if i define a direction from the object to the wall, how do i calculate its velocity in that direction

i could swear I've done this before, but i have only vague inklings left.
is vector projection what I'm looking for?
 
Physics news on Phys.org
Nanako said:
assuming 3D space. i have an object moving in a fairly arbitrary direction. Say it's being fired in an arc, and it hits a wall.

What i want to find out is, how much of that object's velocity is "toward" the wall. Ie, if i define a direction from the object to the wall, how do i calculate its velocity in that direction

i could swear I've done this before, but i have only vague inklings left.
is vector projection what I'm looking for?

You need to resolve the velocity vector into two vectors! One towards the wall (perpendicular to the wall) and one parallel to the wall. You'll need to know the angle of velocity for that.
How can you do that?
 

Attachments

  • direction.JPG
    direction.JPG
    7.5 KB · Views: 441
i'm afraid i have no idea. I'm probably wrong, but to me that sounds like a tiny modification of the same problem

what exactly do you mean the angle of the velocity? as defined in radians or degrees relative to world up?
 
Yes. The vector projection would work and would be the most general way to describe the direction of the velocity in relation to the direction of the wall. If the wall has a definite orientation (say, the y direction) and you know the angle that the velocity vector makes with respect to the position vector of the wall then siddarth23's suggestion is certainly the simplest way to express this component of the velocity.
 
Nanako said:
Ie, if i define a direction from the object to the wall, how do i calculate its velocity in that direction

If v is the velocity and n the normal vector than

\vec v_n = \vec n \cdot \frac{{\vec n \cdot \vec v}}{{\vec n^2 }}

is the normal component of the velocity.
 

Similar threads

Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
4K