Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 24, 2013, 04:49:54 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5386
Members
Latest Member:
Salamutuu
Crystal Space
Crystal Space Development
Support
portals
« previous
next »
Pages:
[
1
]
Author
Topic: portals (Read 1846 times)
koocake
Jr. Member
Posts: 54
portals
«
on:
May 12, 2006, 01:29:31 pm »
hi there
I see how to create sectors, and specify the destination sector, but what about the actual destination position? How does the portal know where to position the player in the destination sector?
regards
Kate
ok - ive done this by using SetWarp();
«
Last Edit: May 12, 2006, 01:49:49 pm by koocake
»
Logged
koocake
Jr. Member
Posts: 54
Re: portals
«
Reply #1 on:
May 12, 2006, 01:52:37 pm »
I have another question - what are the
csVector3 * vertices,
int num_vertices,
for in the arguments of Engine->CreatePortal()? also how do i get the number of vertices? is this something can get from the mesh?
regards,
Kate
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: portals
«
Reply #2 on:
May 12, 2006, 02:16:06 pm »
The position will be the same as in the source destination. So if the portal starts at 10,2,3 it will arrive at 10,2,3 unless you have a space warping transform associated with the portal.
The vertices of the portal represent the portal polygon. i.e. the area of the portal.
Greetings,
Logged
koocake
Jr. Member
Posts: 54
Re: portals
«
Reply #3 on:
May 12, 2006, 04:08:52 pm »
is there any way i can get the vertex information from the mesh?
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: portals
«
Reply #4 on:
May 12, 2006, 04:18:48 pm »
Quote from: koocake on May 12, 2006, 04:08:52 pm
is there any way i can get the vertex information from the mesh?
What mesh? What do you want to do exactly?
Greetings,
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...