Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] why are we even talking about bounding box?

[DiscordArchive] why are we even talking about bounding box?

[DiscordArchive] why are we even talking about bounding box?

Pages (6): 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
06-25-2018, 03:10 PM
#1
Archived author: Skarn • Posted: 2018-06-25T15:10:53.162000+00:00
Original source

why are we even talking about bounding box?
rektbyfaith
06-25-2018, 03:10 PM #1

Archived author: Skarn • Posted: 2018-06-25T15:10:53.162000+00:00
Original source

why are we even talking about bounding box?

rektbyfaith
Administrator
0
06-25-2018, 03:12 PM
#2
Archived author: Azarchius • Posted: 2018-06-25T15:12:33.090000+00:00
Original source

the purple thing is the collision box, which is what's strange. I haven't found so far a single m2 that has collision but whose collision box appears to matter in any way.
rektbyfaith
06-25-2018, 03:12 PM #2

Archived author: Azarchius • Posted: 2018-06-25T15:12:33.090000+00:00
Original source

the purple thing is the collision box, which is what's strange. I haven't found so far a single m2 that has collision but whose collision box appears to matter in any way.

rektbyfaith
Administrator
0
06-25-2018, 03:12 PM
#3
Archived author: Skarn • Posted: 2018-06-25T15:12:40.813000+00:00
Original source

That's what I do
rektbyfaith
06-25-2018, 03:12 PM #3

Archived author: Skarn • Posted: 2018-06-25T15:12:40.813000+00:00
Original source

That's what I do

rektbyfaith
Administrator
0
06-25-2018, 03:12 PM
#4
Archived author: Skarn • Posted: 2018-06-25T15:12:44.569000+00:00
Original source

```py
# collect geometry data
vertices = [tuple(new_obj.matrix_world * vertex.co) for vertex in mesh.vertices]
faces = [tuple([vertex for vertex in poly.vertices]) for poly in mesh.polygons]
normals = [tuple(poly.normal) for poly in mesh.polygons]

self.m2.add_collision_mesh(vertices, faces, normals)
```
rektbyfaith
06-25-2018, 03:12 PM #4

Archived author: Skarn • Posted: 2018-06-25T15:12:44.569000+00:00
Original source

```py
# collect geometry data
vertices = [tuple(new_obj.matrix_world * vertex.co) for vertex in mesh.vertices]
faces = [tuple([vertex for vertex in poly.vertices]) for poly in mesh.polygons]
normals = [tuple(poly.normal) for poly in mesh.polygons]

self.m2.add_collision_mesh(vertices, faces, normals)
```

rektbyfaith
Administrator
0
06-25-2018, 03:12 PM
#5
Archived author: Skarn • Posted: 2018-06-25T15:12:59.907000+00:00
Original source

Note that normals are per-face, not per vertex
rektbyfaith
06-25-2018, 03:12 PM #5

Archived author: Skarn • Posted: 2018-06-25T15:12:59.907000+00:00
Original source

Note that normals are per-face, not per vertex

rektbyfaith
Administrator
0
06-25-2018, 03:13 PM
#6
Archived author: Azarchius • Posted: 2018-06-25T15:13:16.564000+00:00
Original source

yeah I know
rektbyfaith
06-25-2018, 03:13 PM #6

Archived author: Azarchius • Posted: 2018-06-25T15:13:16.564000+00:00
Original source

yeah I know

rektbyfaith
Administrator
0
06-25-2018, 03:13 PM
#7
Archived author: Skarn • Posted: 2018-06-25T15:13:29.130000+00:00
Original source

what's the issue then?
rektbyfaith
06-25-2018, 03:13 PM #7

Archived author: Skarn • Posted: 2018-06-25T15:13:29.130000+00:00
Original source

what's the issue then?

rektbyfaith
Administrator
0
06-25-2018, 03:13 PM
#8
Archived author: Azarchius • Posted: 2018-06-25T15:13:57.954000+00:00
Original source

we were just talking about collision box
rektbyfaith
06-25-2018, 03:13 PM #8

Archived author: Azarchius • Posted: 2018-06-25T15:13:57.954000+00:00
Original source

we were just talking about collision box

rektbyfaith
Administrator
0
06-25-2018, 03:14 PM
#9
Archived author: Skarn • Posted: 2018-06-25T15:14:02.976000+00:00
Original source

the only way you can do auto collision that I can think of is 1:1 shape as geometry, or simplification through convex hills.
rektbyfaith
06-25-2018, 03:14 PM #9

Archived author: Skarn • Posted: 2018-06-25T15:14:02.976000+00:00
Original source

the only way you can do auto collision that I can think of is 1:1 shape as geometry, or simplification through convex hills.

rektbyfaith
Administrator
0
06-25-2018, 03:14 PM
#10
Archived author: Skarn • Posted: 2018-06-25T15:14:30.690000+00:00
Original source

the box probably comes into play with pathing
rektbyfaith
06-25-2018, 03:14 PM #10

Archived author: Skarn • Posted: 2018-06-25T15:14:30.690000+00:00
Original source

the box probably comes into play with pathing

Pages (6): 1 2 3 4 5 6 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)