hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 708 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Vector3](./server.vector3.md) > [dot](./server.vector3.dot.md)
## Vector3.dot() method
Returns the dot product of this vector and another vector.
**Signature:**
```typescript
dot(vector3: Vector3): number;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
vector3
</td><td>
[Vector3](./server.vector3.md)
</td><td>
the other vector
</td></tr>
</tbody></table>
**Returns:**
number
the dot product of this and vector3